• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: Interior pointer accessor list
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Interior pointer accessor list


  • Subject: Re: Interior pointer accessor list
  • From: John Engelhart <email@hidden>
  • Date: Wed, 28 Oct 2009 02:25:02 -0400

On Tue, Oct 27, 2009 at 9:43 AM, Dave Keck <email@hidden> 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@hidden)

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:

This email sent to email@hidden

References: 
 >Interior pointer accessor list (From: Dave Keck <email@hidden>)

  • Prev by Date: Re: Adding new Core Data objects through a form
  • Next by Date: Re: Cocoa replacement for Carbon CompositeIconRef() for Snow Leopard 64-bit apps?
  • Previous by thread: Interior pointer accessor list
  • Next by thread: Alternative to stringWithContentsOfURL
  • Index(es):
    • Date
    • Thread