diff options
author | Thomas Voss <mail@thomasvoss.com> | 2024-04-13 11:42:12 +0200 |
---|---|---|
committer | Thomas Voss <mail@thomasvoss.com> | 2024-04-13 11:42:12 +0200 |
commit | e6ddd22060e49ddd8382069ef03fcc3d2618af13 (patch) | |
tree | 6ee599b65cde97d513081222dfd9f4441e77f8a2 /include | |
parent | d3a04ae6ea8c086e45c2bf51d3ebe97b724abae8 (diff) |
Add u8upper()
Diffstat (limited to 'include')
-rw-r--r-- | include/unicode/string.h | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/include/unicode/string.h b/include/unicode/string.h index c2a99c1..10e16ae 100644 --- a/include/unicode/string.h +++ b/include/unicode/string.h @@ -6,7 +6,16 @@ #include "__charN_t.h" #include "__u8view.h" +enum [[clang::__flag_enum__]] upper_flags { + UF_LANG_AZ = 1 << 0, + UF_LANG_TR = 1 << 0, + UF_LANG_LT = 1 << 1, + UF_ẞ = 1 << 2, +}; + size_t u8glen(const char8_t *, size_t); size_t u8gnext(struct u8view *, const char8_t **, size_t *); +size_t u8upper(char8_t *, size_t, const char8_t *, size_t, enum upper_flags); + #endif /* !MLIB_UNICODE_STRING_H */ |