On 28 Jul 2011, at 10:11, Fred Kiefer wrote:

> 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].

I may be wrong, but my interpretation of the apple videos was that if you used 
@autoreleasepool with ARC off, clang would insert an NSAutoreleasePool object 
alloc/init and drain for you.

Bob
_______________________________________________
Gnustep-dev mailing list
[email protected]
https://lists.gnu.org/mailman/listinfo/gnustep-dev

Reply via email to