ObjFW  Diff

Differences From Artifact [945c020d4d]:

To Artifact [cb311cd255]:


451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
}

- (const void *)items
{
	return _items;
}

- (const void *)itemAtIndex: (size_t)index
{
	if (index >= _count)
		@throw [OFOutOfRangeException exception];

	return _items + index * _itemSize;
}

- (const void *)firstItem
{
	if (_items == NULL || _count == 0)
		return NULL;








|

|


|







451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
}

- (const void *)items
{
	return _items;
}

- (const void *)itemAtIndex: (size_t)idx
{
	if (idx >= _count)
		@throw [OFOutOfRangeException exception];

	return _items + idx * _itemSize;
}

- (const void *)firstItem
{
	if (_items == NULL || _count == 0)
		return NULL;