ObjFW  Diff

Differences From Artifact [25e8cbc1c1]:

To Artifact [77dedbc50e]:


423
424
425
426
427
428
429

430
431
432
433
434
435
436
437
438
439

440
441
442
443
444
445
446
447

- (void)makeObjectsPerformSelector: (SEL)selector
{
	id *objs = [array cArray];
	size_t i, count = [array count];

	for (i = 0; i < count; i++)

		((void(*)())[objs[i] methodForSelector: selector])();
}

- (void)makeObjectsPerformSelector: (SEL)selector
			withObject: (id)obj
{
	id *objs = [array cArray];
	size_t i, count = [array count];

	for (i = 0; i < count; i++)

		((void(*)(id))[objs[i] methodForSelector: selector])(obj);
}

- (int)countByEnumeratingWithState: (of_fast_enumeration_state_t*)state
			   objects: (id*)objects
			     count: (int)count_
{
	size_t count = [array count];







>
|









>
|







423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449

- (void)makeObjectsPerformSelector: (SEL)selector
{
	id *objs = [array cArray];
	size_t i, count = [array count];

	for (i = 0; i < count; i++)
		((void(*)(id, SEL))[objs[i]
		    methodForSelector: selector])(objs[i], selector);
}

- (void)makeObjectsPerformSelector: (SEL)selector
			withObject: (id)obj
{
	id *objs = [array cArray];
	size_t i, count = [array count];

	for (i = 0; i < count; i++)
		((void(*)(id, SEL, id))[objs[i]
		    methodForSelector: selector])(objs[i], selector, obj);
}

- (int)countByEnumeratingWithState: (of_fast_enumeration_state_t*)state
			   objects: (id*)objects
			     count: (int)count_
{
	size_t count = [array count];