75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
|
id object;
while ((object = [enumerator nextObject]) != nil)
[self addObject: object];
[pool release];
}
- (int)countByEnumeratingWithState: (of_fast_enumeration_state_t*)state
objects: (id*)objects
count: (int)count
{
int ret = [super countByEnumeratingWithState: state
objects: objects
count: count];
state->mutationsPtr = &mutations;
return ret;
}
@end
|
<
<
<
<
<
<
<
<
<
<
<
<
<
|
75
76
77
78
79
80
81
82
|
id object;
while ((object = [enumerator nextObject]) != nil)
[self addObject: object];
[pool release];
}
@end
|