Re: (void *)contextInfo
Re: (void *)contextInfo
- Subject: Re: (void *)contextInfo
- From: Nick Zitzmann <email@hidden>
- Date: Tue, 12 Jan 2010 17:56:01 -0700
On Jan 12, 2010, at 5:47 PM, Roland King wrote:
> I didn't understand that bit. "disable/enable methods of NSGarbageCollector", that seems like a very heavy-handed way to stop a pointer from being collected, just shutting GC off.
I didn't mean shutting GC off entirely. I meant disabling collection for a pointer temporarily and re-enabling it when you're done, which is one way of solving the problem of passing an object into a function/method that takes a generic pointer. You can do that with NSGarbageCollector.
Nick Zitzmann
<http://www.chronosnet.com/>
_______________________________________________
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