From fb438a1f2c4275f815cea2fc4f34d3392630b579 Mon Sep 17 00:00:00 2001 From: Tyge Løvset Date: Wed, 8 Jun 2022 10:59:53 +0200 Subject: Added cstr case folding methods. --- include/stc/cstr.h | 2 ++ 1 file changed, 2 insertions(+) (limited to 'include') 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); -- cgit v1.2.3