Differences From Artifact [1e2bb24ba2]:
- File
src/OFArray.m
— part of check-in
[e2b06423e0]
at
2010-09-05 23:19:08
on branch trunk
— Replace OFObject* with id in many places.
We assume now that every object understands retain, release, etc. so
that we can weaken the type from OFObject* to id. This makes it
possible to use different root object classes. (user: js, size: 6865) [annotate] [blame] [check-ins using]
To Artifact [ff4f2762a1]:
- File src/OFArray.m — part of check-in [ddb15601a2] at 2010-09-05 23:23:08 on branch trunk — Rename -[enumerator] to -[objectEnumerator] for consistency. (user: js, size: 6871) [annotate] [blame] [check-ins using]
| ︙ | ︙ | |||
345 346 347 348 349 350 351 | state->state = count; state->itemsPtr = [array cArray]; state->mutationsPtr = (unsigned long*)self; return count; } | | | 345 346 347 348 349 350 351 352 353 354 355 356 357 358 359 |
state->state = count;
state->itemsPtr = [array cArray];
state->mutationsPtr = (unsigned long*)self;
return count;
}
- (OFEnumerator*)objectEnumerator
{
return [[[OFArrayEnumerator alloc]
initWithDataArray: array
mutationsPointer: NULL] autorelease];
}
#ifdef OF_HAVE_BLOCKS
|
| ︙ | ︙ |