• 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: Preprocessor macro concatenation...
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Preprocessor macro concatenation...


  • Subject: Re: Preprocessor macro concatenation...
  • From: "Shawn Erickson" <email@hidden>
  • Date: Thu, 7 Sep 2006 14:59:05 -0700

On 9/7/06, Ralf Hasemann <email@hidden> wrote:
Hi all!

this is not a real Cocoa question - I hope that don't mind.
I am "fighting" adainst the C preprocessor at the moment.
What I like to do is create a #define that does the following:
Inserting a variable with the current source code line number in its
name.
Example:

NSString* strNr_25 = [NSString string];

Where 25 is the number of the line in the code file.

I am really curious on what you are attempting to achieve by doing something like this?

-Shawn
_______________________________________________
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


References: 
 >Preprocessor macro concatenation... (From: Ralf Hasemann <email@hidden>)

  • Prev by Date: WebKit
  • Next by Date: Re: WebKit
  • Previous by thread: Re: Preprocessor macro concatenation...
  • Next by thread: CIPageCurlTransition Problems
  • Index(es):
    • Date
    • Thread