src/string.c

changeset 315
5b97de37aada
parent 306
90b6d69bb499
child 316
be0f6bd10b52
     1.1 --- a/src/string.c	Mon May 14 18:25:20 2018 +0200
     1.2 +++ b/src/string.c	Mon May 14 18:27:23 2018 +0200
     1.3 @@ -487,7 +487,7 @@
     1.4      return result;
     1.5  }
     1.6  
     1.7 -int ucx_str_cmp(scstr_t s1, scstr_t s2) {
     1.8 +int ucx_strcmp(scstr_t s1, scstr_t s2) {
     1.9      if (s1.length == s2.length) {
    1.10          return memcmp(s1.ptr, s2.ptr, s1.length);
    1.11      } else if (s1.length > s2.length) {
    1.12 @@ -497,7 +497,7 @@
    1.13      }
    1.14  }
    1.15  
    1.16 -int ucx_str_casecmp(scstr_t s1, scstr_t s2) {
    1.17 +int ucx_strcasecmp(scstr_t s1, scstr_t s2) {
    1.18      if (s1.length == s2.length) {
    1.19  #ifdef _WIN32
    1.20          return _strnicmp(s1.ptr, s2.ptr, s1.length);

mercurial