Re: Garbage collector vs variable lifetime
Re: Garbage collector vs variable lifetime
- Subject: Re: Garbage collector vs variable lifetime
- From: "Clark Cox" <email@hidden>
- Date: Fri, 6 Jun 2008 16:55:18 -0700
On Fri, Jun 6, 2008 at 4:27 PM, Quincey Morris
<email@hidden> wrote:
>
> On Jun 6, 2008, at 15:48, Bill Bumgarner wrote:
>
>> In any case, you need to make sure that <data> stays alive throughout the
>> entire lifespan of the bytes pointer.
>
> But the puzzling question is: how?
CFRetain/CFRelease will do the trick if needed.
--
Clark S. Cox III
email@hidden
_______________________________________________
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