• 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: variadic variable argument list in #define
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: variadic variable argument list in #define


  • Subject: Re: variadic variable argument list in #define
  • From: Jens Bauer <email@hidden>
  • Date: Tue, 10 Feb 2004 02:26:28 +0100

Hi Ben,

You need to name at least one argument...

See: http://objc-source.com/hints.html

On Tuesday, Feb 10, 2004, at 01:30 Europe/Copenhagen, Ben Dougall wrote:

i'd like to use a variable argument list in a #define macro just like what's at the start of the above linked to page, but when i use it like this for example:

#define mf(...) myfunction(__VA_ARGS__,NULL)


Love,
Jens
_______________________________________________
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: 
 >variadic variable argument list in #define (From: Ben Dougall <email@hidden>)

  • Prev by Date: Re: Drawing onto NSImageView subclass (Newbie)
  • Next by Date: Re: variadic variable argument list in #define
  • Previous by thread: variadic variable argument list in #define
  • Next by thread: Re: variadic variable argument list in #define
  • Index(es):
    • Date
    • Thread