Re: Passing va_args...

2006-03-09 Thread Jean-Yves Bitterlich
Dave Korn wrote: On 09 March 2006 13:11, Jean-Yves Bitterlich wrote: Jean, do you know you're replying to an email from October 2005? Ah well, I see the thread ended without all the information coming out, Andreas said it was impossible but didn't go into the details so it's worth mentionin

RE: Passing va_args...

2006-03-09 Thread Dave Korn
On 09 March 2006 13:11, Jean-Yves Bitterlich wrote: Jean, do you know you're replying to an email from October 2005? Ah well, I see the thread ended without all the information coming out, Andreas said it was impossible but didn't go into the details so it's worth mentioning the builtins. >> K

Re: Passing va_args...

2006-03-09 Thread Jean-Yves Bitterlich
> Kalaky <[EMAIL PROTECTED]> writes: > > > I'am looking for some way to pass variable arguments to another > > function that receives variable arguments without using va_list. > > This is impossible. what about? #define DOTS ... function_1 (int z, ...); function_2 (int z, ...); { return fun

Re: Passing va_args...

2006-03-09 Thread Jean-Yves Bitterlich
Kalaky <[EMAIL PROTECTED]> writes: > I'am looking for some way to pass variable arguments to another > function that receives variable arguments without using va_list. This is impossible. what about? #define DOTS ... function_1 (int z, ...); function_2 (int z, ...); { return function_1

Re: Passing va_args...

2005-10-14 Thread Kean Johnston
I'am looking for some way to pass variable arguments to another function that receives variable arguments without using va_list. This is impossible. USL C has a very neat construct called '&...' which was designed for exactly this purpose. One day when I have idle cycles (yeah right) I will l

Re: Passing va_args...

2005-10-14 Thread Andreas Schwab
Kalaky <[EMAIL PROTECTED]> writes: > I'am looking for some way to pass variable arguments to another > function that receives variable arguments without using va_list. This is impossible. Andreas. -- Andreas Schwab, SuSE Labs, [EMAIL PROTECTED] SuSE Linux Products GmbH, Maxfeldstraße 5, 90409

Re: Passing va_args...

2005-10-14 Thread Kalaky
obviously, no. __VA_ARGS__ is a identifier for variadic macros. I'am looking for some way to pass variable arguments to another function that receives variable arguments without using va_list. On 10/14/05, Jairo Balart <[EMAIL PROTECTED]> wrote: > are you looking for __VA_ARGS__? > > Regards, > J