c2pstr
c2pstr
- Subject: c2pstr
- From: Charlie Dickman <email@hidden>
- Date: Thu, 10 Apr 2008 00:14:07 -0400
Now that c2pstr is deprecated how do you convert a c string or a Cocoa string to a pascal string for use with debugStr?
I've been using
DebugStr(c2pstr ((char *) [[NSString stringWithFormat: @"%s @ %d", __func__, __LINE__] cStringUsingEncoding: NSASCIIStringEncoding]))
|
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Xcode-users mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden