objc

NXAutoreleasePool.h
Go to the documentation of this file.
1 
8 #pragma once
9 #include "NXObject.h"
10 
23 @private
28  id _prev;
29 
34  id _tail;
35 }
36 
43 + (id)currentPool;
44 
50 - (void)addObject:(id)object;
51 
55 - (void)drain;
56 
57 @end
id currentPool()
The current autorelease pool.
A class for managing autorelease pools.
Defines the NXObject class, the base class for the Foundation framework.
The base class for objects in the Foundation framework.
Definition: NXObject.h:21
void drain()
Drain the autorelease pool.
struct objc_object * id
A pointer to an instance of a class.
Definition: runtime.h:18