• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: c2pstr
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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>)

  • Prev by Date: Re: c2pstr
  • Next by Date: Ok, now how do I _stop_ running Leaks?
  • Previous by thread: Re: c2pstr
  • Next by thread: re: c2pstr
  • Index(es):
    • Date
    • Thread