src/cx/string.h

changeset 581
c067394737ca
parent 578
0b2c0cb280a9
child 583
0f3c9662f9b5
     1.1 --- a/src/cx/string.h	Wed Aug 31 23:12:05 2022 +0200
     1.2 +++ b/src/cx/string.h	Sat Sep 03 14:56:07 2022 +0200
     1.3 @@ -658,7 +658,7 @@
     1.4   * \c false otherwise
     1.5   */
     1.6  __attribute__((__warn_unused_result__))
     1.7 -int cx_strsuffix(
     1.8 +bool cx_strsuffix(
     1.9          cxstring string,
    1.10          cxstring suffix
    1.11  );
    1.12 @@ -672,7 +672,7 @@
    1.13   * \c false otherwise
    1.14   */
    1.15  __attribute__((__warn_unused_result__))
    1.16 -int cx_strcaseprefix(
    1.17 +bool cx_strcaseprefix(
    1.18          cxstring string,
    1.19          cxstring prefix
    1.20  );
    1.21 @@ -686,7 +686,7 @@
    1.22   * \c false otherwise
    1.23   */
    1.24  __attribute__((__warn_unused_result__))
    1.25 -int cx_strcasesuffix(
    1.26 +bool cx_strcasesuffix(
    1.27          cxstring string,
    1.28          cxstring suffix
    1.29  );

mercurial