src/string.c

changeset 1050
3df63e95921a
parent 1048
12f38affefd5
child 1052
e997862a57d8
--- a/src/string.c	Sun Dec 22 22:53:53 2024 +0100
+++ b/src/string.c	Sun Dec 22 23:10:07 2024 +0100
@@ -63,10 +63,6 @@
     return (cxstring) {cstring, length};
 }
 
-cxstring cx_strcast(cxmutstr str) {
-    return (cxstring) {str.ptr, str.length};
-}
-
 void cx_strfree(cxmutstr *str) {
     if (str == NULL) return;
     free(str->ptr);

mercurial