ObjFW  Diff

Differences From Artifact [37d0e0f0dd]:

To Artifact [340e813c87]:


58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77

	for (i = 0; i < len; i++)
		[objs[i] retain];

	return new;
}

- (OFObject*)object: (size_t)index
{
	return *((OFObject**)[array item: index]);
}

- (OFObject*)last
{
	return *((OFObject**)[array last]);
}

- add: (OFObject*)obj
{
	[array add: &obj];







|




|







58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77

	for (i = 0; i < len; i++)
		[objs[i] retain];

	return new;
}

- (id)object: (size_t)index
{
	return *((OFObject**)[array item: index]);
}

- (id)last
{
	return *((OFObject**)[array last]);
}

- add: (OFObject*)obj
{
	[array add: &obj];