167
168
169
170
171
172
173
174
175
176
177
178
179
180
|
return new;
}
- (id)objectAtIndex: (size_t)index
{
return *((OFObject**)[array itemAtIndex: index]);
}
- (id)lastObject
{
void *last = [array lastItem];
return (last != NULL ? *((id*)last) : nil);
}
|
>
>
>
>
>
>
>
|
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
|
return new;
}
- (id)objectAtIndex: (size_t)index
{
return *((OFObject**)[array itemAtIndex: index]);
}
- (id)firstObject
{
void *first = [array firstItem];
return (first != NULL ? *((id*)first) : nil);
}
- (id)lastObject
{
void *last = [array lastItem];
return (last != NULL ? *((id*)last) : nil);
}
|