1.1 --- a/src/string.c Mon Feb 20 19:14:42 2023 +0100 1.2 +++ b/src/string.c Mon Feb 20 19:55:42 2023 +0100 1.3 @@ -451,6 +451,24 @@ 1.4 } 1.5 } 1.6 1.7 +int cx_strcmp_p( 1.8 + void const *s1, 1.9 + void const *s2 1.10 +) { 1.11 + cxstring const *left = s1; 1.12 + cxstring const *right = s2; 1.13 + return cx_strcmp(*left, *right); 1.14 +} 1.15 + 1.16 +int cx_strcasecmp_p( 1.17 + void const *s1, 1.18 + void const *s2 1.19 +) { 1.20 + cxstring const *left = s1; 1.21 + cxstring const *right = s2; 1.22 + return cx_strcasecmp(*left, *right); 1.23 +} 1.24 + 1.25 cxmutstr cx_strdup_a( 1.26 CxAllocator *allocator, 1.27 cxstring string