src/string.c

changeset 1176
247db6e629ad
parent 1162
e3bb67b72d33
--- a/src/string.c	Tue Jan 28 18:27:46 2025 +0100
+++ b/src/string.c	Mon Feb 10 18:25:16 2025 +0100
@@ -588,22 +588,6 @@
 #endif
 }
 
-void cx_strlower(cxmutstr string) {
-    for (size_t i = 0; i < string.length; i++) {
-        if ((unsigned int) (string.ptr[i] - 'A') < 26u) {
-            string.ptr[i] += 'a' - 'A';
-        }
-    }
-}
-
-void cx_strupper(cxmutstr string) {
-    for (size_t i = 0; i < string.length; i++) {
-        if ((unsigned int) (string.ptr[i] - 'a') < 26u) {
-            string.ptr[i] += 'A' - 'a';
-        }
-    }
-}
-
 #ifndef CX_STRREPLACE_INDEX_BUFFER_SIZE
 #define CX_STRREPLACE_INDEX_BUFFER_SIZE 64
 #endif

mercurial