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

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

Reply via email to