Re: C string constant->NSString constant without defining twice?
Re: C string constant->NSString constant without defining twice?
- Subject: Re: C string constant->NSString constant without defining twice?
- From: Alastair Houghton <email@hidden>
- Date: Wed, 29 Apr 2009 11:15:32 +0100
On 29 Apr 2009, at 01:33, Gwynne Raskind wrote:
[NSFileHandle initWithFileDescriptor:fileno(tmpfile())
closeOnDealloc:NO]. Oops, now I have to keep track of the FILE* for
as long as the NSFileHandle* exists.
Well you could use dup() to get around that, not that the above is the
best thing to do anyway.
Kind regards,
Alastair.
--
http://alastairs-place.net
_______________________________________________
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