• 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: Preference panes and Apple Help
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Preference panes and Apple Help


  • Subject: Re: Preference panes and Apple Help
  • From: Matt Neuburg <email@hidden>
  • Date: Thu, 04 Sep 2008 07:43:56 -0700
  • Thread-topic: Preference panes and Apple Help

On Wed, 03 Sep 2008 09:27:05 +1000, Andrew White <email@hidden>
said:

>PS: I couldn't see any call to deallocate a FSRef.  Does it get correctly
>cleaned up as part of normal stack cleanup?
>

Andrew: Yes. :) Look in Files.h. Despite the "Ref" ending on the name
(legacy), an FSRef is not a pointer; it's just a struct. Objective-C is C.
Therefore this is an ordinary local variable; the 80 bytes on the stack are
cleaned up when the variable goes out of scope. m.

--
matt neuburg, phd = email@hidden, <http://www.tidbits.com/matt/>
A fool + a tool + an autorelease pool = cool!
One of the 2007 MacTech Top 25: <http://tinyurl.com/2rh4pf>
AppleScript: the Definitive Guide - Second Edition!
<http://www.amazon.com/gp/product/0596102119>



_______________________________________________

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

  • Prev by Date: Re: understanding conversions between CF and NS datatypes
  • Next by Date: Re: Why do all these methods of measuring string metrics with font attribute fail?
  • Previous by thread: Re: Preference panes and Apple Help
  • Next by thread: [Long] flicker issue using an NSOpenGLView / resent
  • Index(es):
    • Date
    • Thread