Re: Str255 to NSString and Back
Re: Str255 to NSString and Back
- Subject: Re: Str255 to NSString and Back
- From: Andrew Thompson <email@hidden>
- Date: Fri, 08 Jul 2005 18:31:34 -0400
On Friday, July 08, 2005, at 05:50PM, Ian Anderson <email@hidden> wrote:
>You need to use CFString to convert to and from a Pascal string.
>CFStringCreateWithPascalString() and CFStringGetPascalString()
Yes, but an NSString *is* a CFString due to toll free bridging, so those functions will work with any NSString (unless it's too long!).
AndyT
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Cocoa-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden