From 106a59586aeba3fb1a0883e2fdaa51753fdbb68b Mon Sep 17 00:00:00 2001 From: Thomas Voss Date: Sun, 21 Apr 2024 19:53:14 +0200 Subject: Rename u8glen() to u8gcnt() --- include/unicode/string.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'include') 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") -- cgit v1.2.3