• 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: Multiline using #define
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Multiline using #define


  • Subject: Re: Multiline using #define
  • From: Ondra Cada <email@hidden>
  • Date: Sat, 5 Jun 2004 22:55:13 +0200

Stefan,

On 5.6.2004, at 22:35, Stefan Pantke wrote:

> How to define a constant using #define, which is replaced
> by multiple lines of something.

What for? I can't think of a reasonable usage: the compiler does not
care, you know.

Perhaps you are generating a different file than an (Obj)C source? Well
if so, I'd recommend another macro processor, probably Perl ;)
---
Ondra Hada
OCSoftware: email@hidden http://www.ocs.cz
private email@hidden http://www.ocs.cz/oc

[demime 0.98b removed an attachment of type application/pkcs7-signature which had a name of smime.p7s]
_______________________________________________
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.


References: 
 >Re: Multiline using #define (From: David Reed <email@hidden>)
 >Re: Multiline using #define (From: Stefan Pantke <email@hidden>)

  • Prev by Date: Re: Multiline using #define
  • Next by Date: Re: Detect click of cell in NSTableView
  • Previous by thread: Re: Multiline using #define
  • Next by thread: Re: Multiline using #define
  • Index(es):
    • Date
    • Thread