ObjFW  Diff

Differences From Artifact [d557fd2664]:

To Artifact [048f9d26ff]:


880
881
882
883
884
885
886
887
888









889
890
891


892
893

894
895
896
897
898
899
900
880
881
882
883
884
885
886


887
888
889
890
891
892
893
894
895
896


897
898
899

900
901
902
903
904
905
906
907







-
-
+
+
+
+
+
+
+
+
+

-
-
+
+

-
+







 *
 * @param encoding The encoding for the string
 * @return The number of bytes the string needs in the specified encoding.
 */
- (size_t)cStringLengthWithEncoding: (of_string_encoding_t)encoding;

/**
 * @brief Compares the OFString to another OFString without caring about the
 *	  case.
 * @brief Compares the string to another string.
 *
 * @param string The string to compare the string to
 * @return The result of the comparison
 */
- (of_comparison_result_t)compare: (OFString *)string;

/**
 * @brief Compares the string to another string without caring about the case.
 *
 * @param otherString A string to compare with
 * @return An of_comparison_result_t
 * @param string The string to compare the string to
 * @return The result of the comparison
 */
- (of_comparison_result_t)caseInsensitiveCompare: (OFString *)otherString;
- (of_comparison_result_t)caseInsensitiveCompare: (OFString *)string;

/**
 * @brief Returns the Unicode character at the specified index.
 *
 * @param index The index of the Unicode character to return
 * @return The Unicode character at the specified index
 */