352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
|
while ((object = [enumerator nextObject]) != nil) {
[element addChild: [object XMLElementBySerializing]];
[pool2 releaseObjects];
}
[element retain];
@try {
[pool release];
} @finally {
[element autorelease];
}
return element;
}
#ifdef OF_HAVE_BLOCKS
- (void)enumerateObjectsUsingBlock: (of_set_enumeration_block_t)block
{
|
<
|
<
|
<
|
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
|
while ((object = [enumerator nextObject]) != nil) {
[element addChild: [object XMLElementBySerializing]];
[pool2 releaseObjects];
}
[element retain];
[pool release];
[element autorelease];
return element;
}
#ifdef OF_HAVE_BLOCKS
- (void)enumerateObjectsUsingBlock: (of_set_enumeration_block_t)block
{
|