summaryrefslogtreecommitdiffhomepage
path: root/include/stc
diff options
context:
space:
mode:
authorTyge Løvset <[email protected]>2022-06-08 10:59:53 +0200
committerTyge Løvset <[email protected]>2022-06-08 10:59:53 +0200
commitfb438a1f2c4275f815cea2fc4f34d3392630b579 (patch)
treed09f14ec565bad9a0bf3f54ea708233f48b4cf3d /include/stc
parentbb540f38796efa8b26fc3b5a36b20c8166f234fd (diff)
downloadSTC-modified-fb438a1f2c4275f815cea2fc4f34d3392630b579.tar.gz
STC-modified-fb438a1f2c4275f815cea2fc4f34d3392630b579.zip
Added cstr case folding methods.
Diffstat (limited to 'include/stc')
-rw-r--r--include/stc/cstr.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/include/stc/cstr.h b/include/stc/cstr.h
index 71206301..b0fa276f 100644
--- a/include/stc/cstr.h
+++ b/include/stc/cstr.h
@@ -171,8 +171,10 @@ STC_INLINE size_t cstr_capacity(cstr s)
// utf8 methods defined in/depending on src/utf8code.c:
+extern cstr cstr_tofold(const cstr* self);
extern cstr cstr_tolower(const cstr* self);
extern cstr cstr_toupper(const cstr* self);
+extern void cstr_foldcase(cstr* self);
extern void cstr_lowercase(cstr* self);
extern void cstr_uppercase(cstr* self);