On May 12, 2012, at 13:55 , Dave Fernandes wrote: > So when a method is declared __attribute__ ((objc_returns_inner_pointer)), > then LLVM tracks regular pointers like it would NSObject pointers to see when > the owning object can be dealloced? Just want to make sure I understand.
… to see when the owning object's variable's compile time scope ends. Other retain/release optimizations aside, that would be the point where its retain count is decremented, and that might in turn trigger deallocation. But, yes, basically that's how I understand the documentation. It seems *way* too convenient to be true. ;) _______________________________________________ Cocoa-dev mailing list (Cocoa-dev@lists.apple.com) Please do not post admin requests or moderator comments to the list. Contact the moderators at cocoa-dev-admins(at)lists.apple.com Help/Unsubscribe/Update your Subscription: https://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com This email sent to arch...@mail-archive.com