• 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: (void *)contextInfo
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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

  • Follow-Ups:
    • Re: (void *)contextInfo
      • From: Roland King <email@hidden>
References: 
 >(void *)contextInfo (From: Rainer Standke <email@hidden>)
 >Re: (void *)contextInfo (From: Nick Zitzmann <email@hidden>)
 >Re: (void *)contextInfo (From: Roland King <email@hidden>)

  • Prev by Date: Re: (void *)contextInfo
  • Next by Date: Re: (void *)contextInfo
  • Previous by thread: Re: (void *)contextInfo
  • Next by thread: Re: (void *)contextInfo
  • Index(es):
    • Date
    • Thread