Differences From Artifact [f4dee3f63a]:
- File
src/OFArray.m
— part of check-in
[008be86a16]
at
2012-03-12 11:54:22
on branch trunk
— OFArray: +[arrayWithCArray:length:] -> +[arrayWithObjects:count:].
This is required for the new array literals. (user: js, size: 13794) [annotate] [blame] [check-ins using]
To Artifact [652b854188]:
- File src/OFArray.m — part of check-in [a18e732a06] at 2012-03-12 12:05:22 on branch trunk — Make array literals work. (user: js, size: 13882) [annotate] [blame] [check-ins using] [more...]
| ︙ | ︙ | |||
266 267 268 269 270 271 272 273 274 275 276 277 278 279 |
}
- (id)objectAtIndex: (size_t)index
{
@throw [OFNotImplementedException exceptionWithClass: isa
selector: _cmd];
}
- (size_t)indexOfObject: (id)object
{
size_t i, count = [self count];
for (i = 0; i < count; i++)
if ([[self objectAtIndex: i] isEqual: object])
| > > > > > | 266 267 268 269 270 271 272 273 274 275 276 277 278 279 280 281 282 283 284 |
}
- (id)objectAtIndex: (size_t)index
{
@throw [OFNotImplementedException exceptionWithClass: isa
selector: _cmd];
}
- (id)objectAtIndexedSubscript: (size_t)index
{
return [self objectAtIndex: index];
}
- (size_t)indexOfObject: (id)object
{
size_t i, count = [self count];
for (i = 0; i < count; i++)
if ([[self objectAtIndex: i] isEqual: object])
|
| ︙ | ︙ |