At 2001-10-24 05:48:07, [EMAIL PROTECTED] wrote: > > [the C function] is a logging function and the variable arguments are > a mix of const char *, integers, doubles, etc.
stdarg.h won't help you if the function you are calling does not expect a va_list argument. (This is exactly why vsprintf exists.) > Do you know of any way to pass a variable number of arguments (of > mixed types) without using va_list? Unfortunately, there is none, which means it is impossible to sanely wrap variadic functions. - ams