aboutsummaryrefslogtreecommitdiff
path: root/include/unicode
diff options
context:
space:
mode:
Diffstat (limited to 'include/unicode')
-rw-r--r--include/unicode/string.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/unicode/string.h b/include/unicode/string.h
index 0cee934..e989380 100644
--- a/include/unicode/string.h
+++ b/include/unicode/string.h
@@ -17,7 +17,7 @@ enum [[clang::flag_enum]] caseflags {
/* clang-format on */
-[[nodiscard]] size_t u8glen(const char8_t *, size_t);
+[[nodiscard]] size_t u8gcnt(const char8_t *, size_t);
size_t u8gnext(struct u8view *, const char8_t **, size_t *);
#define mlib_warn_trunc nodiscard("don’t forget to check for truncation")