• 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
capture #define value?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

capture #define value?


  • Subject: capture #define value?
  • From: Matt Neuburg <email@hidden>
  • Date: Sat, 30 Jan 2010 10:49:17 -0800
  • Thread-topic: capture #define value?

My C skills are missing in action, so this could be a pretty dumb question.
But hey, I'm not proud. Or tired.

I'm passing a name-and-value into my code via the build process, thru the
preprocessor macros build setting. All well and good; using #ifdef and
logging I can tell that the #define of the *name* is working. My question
is: can my *code* capture the *value* as an NSString? (And if so, how?) Thx
- m.

PS Or feel free to tell me that there's a better way for the build process
to send messages to my code.

--
matt neuburg, phd = email@hidden, http://www.tidbits.com/matt/
pantes anthropoi tou eidenai oregontai phusei
Among the 2007 MacTech Top 25, http://tinyurl.com/2rh4pf
AppleScript: the Definitive Guide, 2nd edition
http://www.tidbits.com/matt/default.html#applescriptthings
Take Control of Exploring & Customizing Snow Leopard
http://tinyurl.com/kufyy8
RubyFrontier! http://www.apeth.com/RubyFrontierDocs/default.html
TidBITS, Mac news and reviews since 1990, http://www.tidbits.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

  • Follow-Ups:
    • Re: capture #define value?
      • From: Chris Espinosa <email@hidden>
  • Prev by Date: Re: Shadowed variable warning when using blocks
  • Next by Date: Re: capture #define value?
  • Previous by thread: Re: Shadowed variable warning when using blocks
  • Next by thread: Re: capture #define value?
  • Index(es):
    • Date
    • Thread