From: Brian D. <br...@de...> - 2005-08-29 11:25:38
|
Richard Gipps wrote: > Thanks for the reply. What about if they both have to have '...' > as the last argument i.e. func_two can be called from func_one as well as > other places in the code? You cannot do that directly. But you can achieve what you want, just make func_two_real (int, va_list) be the actual function and then write a wrapper func_two (int, ...) that calls func_two_real. This is exactly what the C library does: printf, scanf, etc. are just wrappers that do nothing but call vprintf, vscanf, etc. Brian |