diff -r 2ccb9f881420 -r 3eeadf666d6b src/string.c --- a/src/string.c Mon Feb 20 19:14:42 2023 +0100 +++ b/src/string.c Mon Feb 20 19:55:42 2023 +0100 @@ -451,6 +451,24 @@ } } +int cx_strcmp_p( + void const *s1, + void const *s2 +) { + cxstring const *left = s1; + cxstring const *right = s2; + return cx_strcmp(*left, *right); +} + +int cx_strcasecmp_p( + void const *s1, + void const *s2 +) { + cxstring const *left = s1; + cxstring const *right = s2; + return cx_strcasecmp(*left, *right); +} + cxmutstr cx_strdup_a( CxAllocator *allocator, cxstring string