39
40
41
42
43
44
45
46
47
48
|
*
* \param obj The object to add to the autorelease pool
*/
- addObject: (OFObject*)obj;
/**
* Releases all objects in the autorelease pool.
*/
- releaseObjects;
@end
|
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
|
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
|
*
* \param obj The object to add to the autorelease pool
*/
- addObject: (OFObject*)obj;
/**
* Releases all objects in the autorelease pool.
*
* If a garbage collector is added in the future, it will tell the GC that now
* is a good time to clean up, as this is often used after a lot of objects
* have been added to the pool that should be released before the next iteration
* of a loop, which adds objects again. Thus, it is usually a clean up call.
*/
- releaseObjects;
/**
* Releases all objects in the autorelease pool and deallocates the pool.
*/
- (void)release;
/**
* Calling drain is equivalent to calling release.
*
* If a garbage collector is added in the future, it will tell the GC that now
* is a good time to clean up.
*/
- (void)drain;
@end
|