From fea47e9b0b1f1137944a446d0d7e4b413f7bc2dd Mon Sep 17 00:00:00 2001 From: Tyge Løvset Date: Mon, 8 Aug 2022 16:13:05 +0200 Subject: Changed *cstr_tolower*/*cstr_toupper* arg from `const cstr*` to `csview`. --- docs/cstr_api.md | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'docs') diff --git a/docs/cstr_api.md b/docs/cstr_api.md index e4edb4c5..eb788980 100644 --- a/docs/cstr_api.md +++ b/docs/cstr_api.md @@ -106,8 +106,9 @@ void cstr_next(cstr_iter* it); // utf8 functions requires linking with src/utf8code.c symbols: bool cstr_valid_utf8(const cstr* self); // check if str is valid utf8 -cstr cstr_tolower(const cstr* self); // returns new lowercase utf8 cstr -cstr cstr_toupper(const cstr* self); // returns new uppercase utf8 cstr +cstr cstr_tolower_sv(csview sv); // returns new lowercase utf8 cstr +cstr cstr_toupper_sv(csview sv); // returns new uppercase utf8 cstr +cstr cstr_casefold_sv(csview sv); // returns new casefolded utf8 cstr void cstr_lowercase(cstr* self); // transform cstr to lowercase utf8 void cstr_uppercase(cstr* self); // transform cstr to uppercase utf8 bool cstr_iequals(cstr s, const char* str); // utf8 case-insensitive comparison -- cgit v1.2.3