On 6/1/09 9:31 PM, Quincey Morris said:

>First, I believe Sean is wrong about (b), although the documentation
>is a little unclear.

I would love to be wrong, of course.

>The description of [NSString UTF8String] says
>that "the returned C string is automatically freed just as a returned
>object would be released", which implies (to me) that the returned
>pointer is to GC-controlled memory.

Then shouldn't its return value be __strong?  (It's not.)

>Second, even if Sean is correct, I believe you'd be going too far by
>refusing to use GC as a consequence.

Agreed.

--
____________________________________________________________
Sean McBride, B. Eng                 [email protected]
Rogue Research                        www.rogue-research.com
Mac Software Developer              Montréal, Québec, Canada


_______________________________________________

Cocoa-dev mailing list ([email protected])

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:
http://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com

This email sent to [email protected]

Reply via email to