38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
|
+ (void)releaseAll;
/**
* Adds an object to the specific autorelease pool.
*
* \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;
/**
|
|
|
|
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
|
+ (void)releaseAll;
/**
* Adds an object to the specific autorelease pool.
*
* \param obj The object to add to the autorelease pool
*/
- (void)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.
*/
- (void)releaseObjects;
/**
* Releases all objects in the autorelease pool and deallocates the pool.
*/
- (void)release;
/**
|