Add ENTER_POOL and LEAVE_POOL

This commit is contained in:
Richard Frith-Macdonald 2025-03-09 10:47:03 +00:00
parent 214a57eb7a
commit 4602023a70

View file

@ -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