ObjFW  Diff

Differences From Artifact [76ff127a29]:

To Artifact [6689e2f31d]:


330
331
332
333
334
335
336
337
338


339
340
341
342
343
344
345


346
347
348
349
350
351
352
330
331
332
333
334
335
336


337
338
339
340
341
342
343


344
345
346
347
348
349
350
351
352







-
-
+
+





-
-
+
+







 * \param index The index of the Unicode character to return
 * \return The Unicode character at the specified index
 */
- (of_unichar_t)characterAtIndex: (size_t)index;

/**
 * \param str The string to search
 * \return The index of the first occurrence of the string or SIZE_MAX if it
 *	   was not found
 * \return The index of the first occurrence of the string or OF_INVALID_INDEX
 *	   if it was not found
 */
- (size_t)indexOfFirstOccurrenceOfString: (OFString*)str;

/**
 * \param str The string to search
 * \return The index of the last occurrence of the string or SIZE_MAX if it
 *	   was not found
 * \return The index of the last occurrence of the string or OF_INVALID_INDEX if
 *	   it was not found
 */
- (size_t)indexOfLastOccurrenceOfString: (OFString*)str;

/**
 * \param str The string to search
 * \return Whether the string contains the specified string
 */