aboutsummaryrefslogtreecommitdiff
path: root/include/unicode
diff options
context:
space:
mode:
authorThomas Voss <mail@thomasvoss.com> 2024-05-04 22:01:27 +0200
committerThomas Voss <mail@thomasvoss.com> 2024-05-04 22:01:27 +0200
commitbd4d8c9f6e3fb7299f5f8e9fdb966824790aebc1 (patch)
tree53d69d33f8e49418b747c59683741bcac3dcf691 /include/unicode
parentf5268368fbfd88cb3259a8f4313abd06a1c57d70 (diff)
Sort functions
Diffstat (limited to 'include/unicode')
-rw-r--r--include/unicode/string.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/include/unicode/string.h b/include/unicode/string.h
index bb8cafd..60eb972 100644
--- a/include/unicode/string.h
+++ b/include/unicode/string.h
@@ -29,14 +29,14 @@ size_t u8gnext(struct u8view *, struct u8view *);
size_t u8wnext(struct u8view *, struct u8view *);
size_t u8wnext_human(struct u8view *, struct u8view *);
+[[mlib_warn_trunc]] size_t u8casefold(char8_t *restrict, size_t, struct u8view,
+ enum caseflags);
[[mlib_warn_trunc]] size_t u8lower(char8_t *restrict, size_t, struct u8view,
enum caseflags);
[[mlib_warn_trunc]] size_t u8title(char8_t *restrict, size_t, struct u8view,
enum caseflags);
[[mlib_warn_trunc]] size_t u8upper(char8_t *restrict, size_t, struct u8view,
enum caseflags);
-[[mlib_warn_trunc]] size_t u8casefold(char8_t *restrict, size_t, struct u8view,
- enum caseflags);
constexpr double U8LOWER_SCALE = 1.5;
constexpr double U8LOWER_SCALE_LT = 3;