gnustep-dev
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

@autoreleasepool


From: Fred Kiefer
Subject: @autoreleasepool
Date: Thu, 28 Jul 2011 11:11:10 +0200
User-agent: Mozilla/5.0 (X11; U; Linux x86_64; de; rv:1.9.2.18) Gecko/20110616 SUSE/3.1.11 Thunderbird/3.1.11

With Apple introducing @autoreleasepool I think that we need to adjust our macros in GNUstep.h. Currently the CREATE_AUTORELEASE_POOL macro is deprecated, I think this should be un-deprecated and for ARC we should use @autoreleasepool { here.

We also need to introduce a corresponding DESTROY_AUTORELASE_POOL(X) macro that for ARC would just be }, and in the other cases either [X drain] or [X release].

Fred



reply via email to

[Prev in Thread] Current Thread [Next in Thread]