Re: Multiline using #define
Re: Multiline using #define
- Subject: Re: Multiline using #define
- From: Stefan Pantke <email@hidden>
- Date: Sat, 5 Jun 2004 22:35:08 +0200
We need it the other way round
How to define a constant using #define, which is replaced
by multiple lines of something.
Multiple lines is mandatory at this place.
Am 05.06.2004 um 22:12 schrieb David Reed:
Precede your line breaks with \ (backslash). The preprocessor will
treat it as all one line.
#define kMyConstant DoSomething(blah, \
blah, blah, \
blah)
David.
On Saturday, Jun 5, 2004, at 15:57 US/Eastern, Stefan Pantke wrote:
Hi folks,
just forgot how to define multiline constants in C.
A single line constant wouldn't be OK.
Any ideas?
Stefan
_______________________________________________
cocoa-dev mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.
_______________________________________________
cocoa-dev mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.
_______________________________________________
cocoa-dev mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.