mirror of
https://github.com/gnustep/tools-make.git
synced 2025-04-24 14:48:53 +00:00
Add ENTER_POOL and LEAVE_POOL
This commit is contained in:
parent
214a57eb7a
commit
4602023a70
1 changed files with 2 additions and 0 deletions
|
@ -669,5 +669,7 @@ if (__value != __object) \
|
|||
#define RECREATE_AUTORELEASE_POOL(X) \
|
||||
if (X == nil) \
|
||||
(X) = [NSAutoreleasePool new]
|
||||
#define ENTER_POOL @autoreleasepool{
|
||||
#define LEAVE_POOL }
|
||||
#endif
|
||||
|
||||
|
|
Loading…
Reference in a new issue