[BusyBox] usage.h and ##_example_usage ???

Erik Andersen andersen at codepoet.org
Mon Jul 26 07:37:03 UTC 2004


On Thu Jul 22, 2004 at 02:45:15PM +0200, Steven Scholz wrote:
> Hi there,
> 
> what are the defines ##_example_usage in usage.h for?
> For further extension?

check out 'info cpp'.  Specifically the part about
"Macros with Variable Numbers of Arguments"

   This is a special feature of the GNU C preprocessor: `##'
   before a rest argument that is empty discards the preceding
   sequence of non-whitespace characters from the macro
   definition.  (If another macro argument precedes, none of it
   is discarded.)

 -Erik

--
Erik B. Andersen             http://codepoet-consulting.com/
--This message was written using 73% post-consumer electrons--



More information about the busybox mailing list