[Openmcl-devel] Using CFStrings in OpenMCL

Gary Byers gb at clozure.com
Sat Dec 18 04:32:40 UTC 2004



On Fri, 17 Dec 2004, David Steuber wrote: >

> Either way, for a CFString or NSString, I still > have to release it
> so far as I can tell.

You don't have to release a -constant- CFString/NSString (and calling
#_CFRelease on one is a no-op.)  See the bulleted items in:

<http://developer.apple.com/documentation/CoreFoundation/Conceptual/CFStrings/Tasks/CreatingAndCopying.html#//apple_ref/doc/uid/20001183/TPXREF110>


(I -hope- that that URL works; it's supposed to refer to the first
section of the "Core Foundation: Strings" doc page.)





More information about the Openmcl-devel mailing list