diff options
| author | Tyge Løvset <[email protected]> | 2022-12-20 10:59:31 +0100 |
|---|---|---|
| committer | Tyge Løvset <[email protected]> | 2022-12-20 10:59:31 +0100 |
| commit | 21817cae767d72e6007150b639f9365e35502173 (patch) | |
| tree | 4c897b401c75a243f11c6ea8cf0ca8699376a680 /include/stc/utf8.h | |
| parent | 6167fa5e361b2954440594cb693f25f643eb9e0a (diff) | |
| download | STC-modified-21817cae767d72e6007150b639f9365e35502173.tar.gz STC-modified-21817cae767d72e6007150b639f9365e35502173.zip | |
Renamed c_sv() => c_SV() and reverted cstr_new() => cstr_lit(). Old names are deprecated (not removed).
Diffstat (limited to 'include/stc/utf8.h')
| -rw-r--r-- | include/stc/utf8.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/stc/utf8.h b/include/stc/utf8.h index ab39f3ba..cf36ee1c 100644 --- a/include/stc/utf8.h +++ b/include/stc/utf8.h @@ -43,7 +43,7 @@ STC_INLINE uint32_t utf8_peek(const char* s) { /* case-insensitive utf8 string comparison */ STC_INLINE int utf8_icmp(const char* s1, const char* s2) { - return utf8_icmp_sv(c_sv(s1, ~(size_t)0), c_sv(s2, ~(size_t)0)); + return utf8_icmp_sv(c_SV(s1, ~(size_t)0), c_SV(s2, ~(size_t)0)); } STC_INLINE bool utf8_valid(const char* s) { |
