summaryrefslogtreecommitdiffhomepage
path: root/include/stc/utf8.h
diff options
context:
space:
mode:
authorTyge Løvset <[email protected]>2022-12-20 10:59:31 +0100
committerTyge Løvset <[email protected]>2022-12-20 10:59:31 +0100
commit21817cae767d72e6007150b639f9365e35502173 (patch)
tree4c897b401c75a243f11c6ea8cf0ca8699376a680 /include/stc/utf8.h
parent6167fa5e361b2954440594cb693f25f643eb9e0a (diff)
downloadSTC-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.h2
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) {