411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
|
*listObject = (*listObject)->next;
return 1;
}
- (OFEnumerator*)objectEnumerator
{
return [[[OFListEnumerator alloc]
initWithList: self
mutationsPointer: &mutations] autorelease];
}
@end
@implementation OFListEnumerator
- initWithList: (OFList*)list_
mutationsPointer: (unsigned long*)mutationsPtr_
|
|
|
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
|
*listObject = (*listObject)->next;
return 1;
}
- (OFEnumerator*)objectEnumerator
{
return [[[OFListEnumerator alloc]
initWithList: self
mutationsPointer: &mutations] autorelease];
}
@end
@implementation OFListEnumerator
- initWithList: (OFList*)list_
mutationsPointer: (unsigned long*)mutationsPtr_
|