ObjFW  Diff

Differences From Artifact [9079ad9449]:

To Artifact [734046ca66]:


354
355
356
357
358
359
360
361

362
363
364
365
366
367
368
369
354
355
356
357
358
359
360

361

362
363
364
365
366
367
368







-
+
-







		[ret appendString: [iter->object description]];

		if (iter->next != NULL)
			[ret appendString: @",\n"];

		objc_autoreleasePoolPop(pool);
	}
	[ret replaceOccurrencesOfString: @"\n"
	[ret replaceOccurrencesOfString: @"\n" withString: @"\n\t"];
			     withString: @"\n\t"];
	[ret appendString: @"\n]"];

	[ret makeImmutable];

	return ret;
}

412
413
414
415
416
417
418
419

420
421


422
423
424
425
426
427
428
411
412
413
414
415
416
417

418


419
420
421
422
423
424
425
426
427







-
+
-
-
+
+







	memcpy(state->extra, &listObject, sizeof(listObject));

	return count;
}

- (OFEnumerator *)objectEnumerator
{
	return [[[OFListEnumerator alloc]
	return [[[OFListEnumerator alloc] initWithList: self
		initWithList: self
	    mutationsPointer: &_mutations] autorelease];
				      mutationsPointer: &_mutations]
	    autorelease];
}
@end

@implementation OFListEnumerator
- (instancetype)initWithList: (OFList *)list
	    mutationsPointer: (unsigned long *)mutationsPtr
{