On Tue, Oct 27, 2009 at 9:43 AM, Dave Keck <[email protected]> wrote:

> Hey list,
>
> While in the process of introducing support for GC in my app, I scoured
> through the 10.5 framework headers for any methods that might return an
> interior pointer. I thought I might share my findings. Here's the command I
> used - perhaps someone could improve upon it:
>

Actually, the only one on that list that I know for sure that's an interior
pointer is:


> ====================
> ./Foundation.framework/Versions/C/Headers/NSData.h
> ====================
> - (const void *)bytes;
>

It's probably a safe assumption that NSMutableData's


> - (void *)mutableBytes;
>

is also an interior pointer as well.

This tends to be a, hmm, "controversial and contentious" topic, so I think
that's all I'm going to say.  :)
_______________________________________________

Cocoa-dev mailing list ([email protected])

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 [email protected]

Reply via email to