160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
|
@throw [OFInvalidArgumentException exception];
objects = _array.items;
count = _array.count;
for (size_t i = 0; i < count; i++) {
if ([objects[i] isEqual: object]) {
object = objects[i];
[_array removeItemAtIndex: i];
_mutations++;
[object release];
objects = _array.items;
i--;
count--;
continue;
}
}
|
|
|
|
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
|
@throw [OFInvalidArgumentException exception];
objects = _array.items;
count = _array.count;
for (size_t i = 0; i < count; i++) {
if ([objects[i] isEqual: object]) {
id tmp = objects[i];
[_array removeItemAtIndex: i];
_mutations++;
[tmp release];
objects = _array.items;
i--;
count--;
continue;
}
}
|