ObjFW  Diff

Differences From Artifact [fbeacc8bf8]:

To Artifact [c4f091786b]:


454
455
456
457
458
459
460

461

462
463
464
465

466

467
468
469
470
471
472
473
454
455
456
457
458
459
460
461

462
463
464
465
466
467

468
469
470
471
472
473
474
475







+
-
+




+
-
+







}

- (void)replaceOccurrencesOfString: (OFString*)string
			withString: (OFString*)replacement
{
	[self replaceOccurrencesOfString: string
			      withString: replacement
				 options: 0
				 inRange: of_range(0, [self length])];
				   range: of_range(0, [self length])];
}

- (void)replaceOccurrencesOfString: (OFString*)string
			withString: (OFString*)replacement
			   options: (int)options
			   inRange: (of_range_t)range
			     range: (of_range_t)range
{
	void *pool = objc_autoreleasePoolPush(), *pool2;
	const of_unichar_t *unicodeString;
	const of_unichar_t *searchString = [string unicodeString];
	size_t searchLength = [string length];
	size_t replacementLength = [replacement length];
	size_t i;