59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
|
OFArray *objects = [dictionary allKeys];
id *cArray = [objects cArray];
size_t count = [objects count];
size_t i;
for (i = 0; i < count; i++)
if (![set containsObject: cArray[i]])
[self removeObject: cArray[i]];
[pool release];
}
- (void)unionSet: (OFSet*)set
{
OFAutoreleasePool *pool = [[OFAutoreleasePool alloc] init];
|
|
|
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
|
OFArray *objects = [dictionary allKeys];
id *cArray = [objects cArray];
size_t count = [objects count];
size_t i;
for (i = 0; i < count; i++)
if (![set containsObject: cArray[i]])
[dictionary removeObjectForKey: cArray[i]];
[pool release];
}
- (void)unionSet: (OFSet*)set
{
OFAutoreleasePool *pool = [[OFAutoreleasePool alloc] init];
|