diff -r 6ac92936cd44 -r 494d9b20b99e src/string.c --- a/src/string.c Fri Apr 21 20:17:09 2023 +0200 +++ b/src/string.c Fri Apr 21 20:28:55 2023 +0200 @@ -72,7 +72,7 @@ } void cx_strfree_a( - CxAllocator *alloc, + CxAllocator const *alloc, cxmutstr *str ) { cxFree(alloc, str->ptr); @@ -99,7 +99,7 @@ } cxmutstr cx_strcat_a( - CxAllocator *alloc, + CxAllocator const *alloc, size_t count, ... ) { @@ -369,7 +369,7 @@ } size_t cx_strsplit_a( - CxAllocator *allocator, + CxAllocator const *allocator, cxstring string, cxstring delim, size_t limit, @@ -411,7 +411,7 @@ } size_t cx_strsplit_ma( - CxAllocator *allocator, + CxAllocator const *allocator, cxmutstr string, cxstring delim, size_t limit, @@ -470,7 +470,7 @@ } cxmutstr cx_strdup_a( - CxAllocator *allocator, + CxAllocator const *allocator, cxstring string ) { cxmutstr result = { @@ -579,7 +579,7 @@ } cxmutstr cx_strreplacen_a( - CxAllocator *allocator, + CxAllocator const *allocator, cxstring str, cxstring pattern, cxstring replacement,