added some utility functions + fixed error in ostrAppendview

This commit is contained in:
snarmph 2021-10-31 10:25:46 +00:00
parent aa39e2563d
commit be71719f73
7 changed files with 47 additions and 18 deletions

3
str.h
View file

@ -68,6 +68,9 @@ strview_t strSubview(str_t *ctx, size_t pos, size_t len);
void strLower(str_t *ctx);
str_t strToLower(str_t ctx);
void strUpper(str_t *ctx);
str_t strToUpper(str_t ctx);
#ifdef STR_TESTING
void strTest(void);
#endif