Re: Preprocessor macro concatenation...
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