> From: Ben Combee [mailto:[EMAIL PROTECTED]]
> CodeWarrior supports ISO C (1999) style variable argument
> lists, so you could do
>   #define OVLOGMSG(...)     OVLogger(__VA_ARGS__)

Thanks Ben!  This one is new to me, very cool.  FWIW, until 5 minutes ago I
was solving the problem less elegantly like this:

    #define TRACETL(args) ( HostTraceOutputTL args )

This makes the call slightly weird, requiring double parens:

    TRACETL(( appErrorClass, "%s knows all", "Ben" ));

-slj-


-- 
For information on using the Palm Developer Forums, or to unsubscribe, please see 
http://www.palmos.com/dev/tech/support/forums/

Reply via email to