Re: c2pstr
Re: c2pstr
- Subject: Re: c2pstr
- From: "Glenn L. Austin" <email@hidden>
- Date: Wed, 9 Apr 2008 23:08:20 -0700
On Apr 9, 2008, at 10:49 PM, j o a r wrote:
On Apr 9, 2008, at 9:14 PM, Charlie Dickman wrote:
Now that c2pstr is deprecated how do you convert a c string or a
Cocoa string to a pascal string for use with debugStr?
If you find this function to be useful I'd suggest that you file a
feature request where you ask Apple add a version of it that takes
CF/NSStrings.
<http://developer.apple.com/bugreporter/>
I know that it doesn't break, but how about just using CFShow on a
string?
You could, in fact, simply define cfdebugstr(cfs) as do { CFShow(cfs);
Debugger(); } while (0)
--
Glenn L. Austin
<email@hidden>
<http://www.austin-soft.com/>
_______________________________________________
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
References: | |
| >c2pstr (From: Charlie Dickman <email@hidden>) |
| >Re: c2pstr (From: j o a r <email@hidden>) |