diff options
| author | Tyge Løvset <[email protected]> | 2021-09-13 14:52:05 +0200 |
|---|---|---|
| committer | Tyge Løvset <[email protected]> | 2021-09-13 14:52:05 +0200 |
| commit | 8e2e792b2c3e1fa04a0ac67ea7d9010939ca8009 (patch) | |
| tree | 2120c1001aafed85f6da623ed33628b89755a816 /docs | |
| parent | c8df06eba131d607660af4381d0d800d639f6279 (diff) | |
| download | STC-modified-8e2e792b2c3e1fa04a0ac67ea7d9010939ca8009.tar.gz STC-modified-8e2e792b2c3e1fa04a0ac67ea7d9010939ca8009.zip | |
Removed most of the case-insensitive cstr methods, as they won't work with utf-8.
Diffstat (limited to 'docs')
| -rw-r--r-- | docs/cstr_api.md | 9 |
1 files changed, 1 insertions, 8 deletions
diff --git a/docs/cstr_api.md b/docs/cstr_api.md index fd2b241f..b922092d 100644 --- a/docs/cstr_api.md +++ b/docs/cstr_api.md @@ -68,12 +68,6 @@ bool cstr_contains(cstr s, const char* needle); bool cstr_starts_with(cstr s, const char* str); bool cstr_ends_with(cstr s, const char* str); -bool cstr_iequalto(cstr s, const char* str); // prefix i = case-insensitive -size_t cstr_ifind_n(cstr s, const char* needle, size_t pos, size_t nmax); -bool cstr_icontains(cstr s, const char* needle); -bool cstr_istarts_with(cstr s, const char* str); -bool cstr_iends_with(cstr s, const char* str); - void cstr_push_back(cstr* self, char ch); void cstr_pop_back(cstr* self); char* cstr_front(cstr* self); @@ -99,9 +93,8 @@ int c_rawstr_compare(const char** x, const char** y); bool c_rawstr_equals(const char** x, const char** y); uint64_t c_rawstr_hash(const char* const* x, ...); -int c_strncasecmp(const char* str1, const char* str2, size_t n); char* c_strnstrn(const char* str, const char* needle, size_t slen, size_t nlen); -char* c_strncasestrn(const char* str, const char* needle, size_t slen, size_t nlen); +int c_strncasecmp(const char* str1, const char* str2, size_t n); ``` ## Types |
