ObjFW  Diff

Differences From Artifact [550babc622]:

To Artifact [0b7f7cf63f]:


46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
	id object;

	if (index > NSUIntegerMax)
		@throw [OFOutOfRangeException exceptionWithClass: [self class]];

	object = [_array objectAtIndex: index];

	if ([object conformsToProtocol: @protocol(NSBridging)])
		return [object OFObject];

	return object;
}

- (size_t)count
{
	return [_array count];
}
@end







|










46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
	id object;

	if (index > NSUIntegerMax)
		@throw [OFOutOfRangeException exceptionWithClass: [self class]];

	object = [_array objectAtIndex: index];

	if ([(NSObject*)object conformsToProtocol: @protocol(NSBridging)])
		return [object OFObject];

	return object;
}

- (size_t)count
{
	return [_array count];
}
@end