658 ); |
658 ); |
659 |
659 |
660 /** |
660 /** |
661 * Compares two strings. |
661 * Compares two strings. |
662 * |
662 * |
663 * This function has a compatible signature for the use as a CxListComparator. |
663 * This function has a compatible signature for the use as a cx_compare_func. |
664 * |
664 * |
665 * @param s1 the first string |
665 * @param s1 the first string |
666 * @param s2 the second string |
666 * @param s2 the second string |
667 * @return negative if \p s1 is smaller than \p s2, positive if \p s1 is larger |
667 * @return negative if \p s1 is smaller than \p s2, positive if \p s1 is larger |
668 * than \p s2, zero if both strings equal |
668 * than \p s2, zero if both strings equal |
674 ); |
674 ); |
675 |
675 |
676 /** |
676 /** |
677 * Compares two strings ignoring case. |
677 * Compares two strings ignoring case. |
678 * |
678 * |
679 * This function has a compatible signature for the use as a CxListComparator. |
679 * This function has a compatible signature for the use as a cx_compare_func. |
680 * |
680 * |
681 * @param s1 the first string |
681 * @param s1 the first string |
682 * @param s2 the second string |
682 * @param s2 the second string |
683 * @return negative if \p s1 is smaller than \p s2, positive if \p s1 is larger |
683 * @return negative if \p s1 is smaller than \p s2, positive if \p s1 is larger |
684 * than \p s2, zero if both strings equal ignoring case |
684 * than \p s2, zero if both strings equal ignoring case |