On Apr 21, 2009, at 7:40 PM, Seth Willits wrote:
Is the non-protected access of instance variables from functions
defined inside of @implementations documented anywhere? I'm
wondering if this some secret thing that I shouldn't use, or
something that's actually pretty common used?
@implementation Foo
static inline void dotheprint(Foo * self)
{
NSLog(@"%d", self->special); // If defined outside @imp it'd give a
compiler error
}
I don't know of any documentation, but yes it's supposed to work
exactly like that.
--
Greg Parker gpar...@apple.com Runtime Wrangler
_______________________________________________
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:
http://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com
This email sent to arch...@mail-archive.com