309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
|
{
return [[[OFListEnumerator alloc]
initWithFirstListObject: firstListObject
mutationsPointer: &mutations] autorelease];
}
@end
/// \cond internal
@implementation OFListEnumerator
- initWithFirstListObject: (of_list_object_t*)first_
mutationsPointer: (unsigned long*)mutationsPtr_;
{
self = [super init];
first = first_;
|
<
|
309
310
311
312
313
314
315
316
317
318
319
320
321
322
|
{
return [[[OFListEnumerator alloc]
initWithFirstListObject: firstListObject
mutationsPointer: &mutations] autorelease];
}
@end
@implementation OFListEnumerator
- initWithFirstListObject: (of_list_object_t*)first_
mutationsPointer: (unsigned long*)mutationsPtr_;
{
self = [super init];
first = first_;
|
348
349
350
351
352
353
354
355
|
{
if (*mutationsPtr != mutations)
@throw [OFEnumerationMutationException newWithClass: isa];
current = first;
}
@end
/// \endcond
|
<
|
347
348
349
350
351
352
353
|
{
if (*mutationsPtr != mutations)
@throw [OFEnumerationMutationException newWithClass: isa];
current = first;
}
@end
|