diff options
author | Thomas Voss <mail@thomasvoss.com> | 2024-04-21 19:53:14 +0200 |
---|---|---|
committer | Thomas Voss <mail@thomasvoss.com> | 2024-04-21 19:53:14 +0200 |
commit | 106a59586aeba3fb1a0883e2fdaa51753fdbb68b (patch) | |
tree | 596a38dd9c7534dab973d3c04cb9c6c0e15e134f /include | |
parent | 43be23fd5c22a23a2fe141df93d73ba14a0fa28d (diff) |
Rename u8glen() to u8gcnt()
Diffstat (limited to 'include')
-rw-r--r-- | include/unicode/string.h | 2 |
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") |