src/ucx/string.h

changeset 315
5b97de37aada
parent 306
90b6d69bb499
child 316
be0f6bd10b52
     1.1 --- a/src/ucx/string.h	Mon May 14 18:25:20 2018 +0200
     1.2 +++ b/src/ucx/string.h	Mon May 14 18:27:23 2018 +0200
     1.3 @@ -403,9 +403,9 @@
     1.4   * length of s1 is greater than the length of s2 or the result of
     1.5   * <code>memcmp()</code> otherwise (i.e. 0 if the strings match)
     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  
    1.10 -#define sstrcmp(s1, s2) ucx_str_cmp(SCSTR(s1), SCSTR(s2))
    1.11 +#define sstrcmp(s1, s2) ucx_strcmp(SCSTR(s1), SCSTR(s2))
    1.12  
    1.13  /**
    1.14   * Compares two UCX strings ignoring the case.
    1.15 @@ -421,9 +421,9 @@
    1.16   * first two differing characters otherwise (i.e. 0 if the strings match and
    1.17   * no characters differ)
    1.18   */
    1.19 -int ucx_str_casecmp(scstr_t s1, scstr_t s2);
    1.20 +int ucx_strcasecmp(scstr_t s1, scstr_t s2);
    1.21  
    1.22 -#define sstrcasecmp(s1, s2) ucx_str_casecmp(SCSTR(s1), SCSTR(s2))
    1.23 +#define sstrcasecmp(s1, s2) ucx_strcasecmp(SCSTR(s1), SCSTR(s2))
    1.24  
    1.25  /**
    1.26   * Creates a duplicate of the specified string.

mercurial