This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: Passing va_args...
- From: Kalaky <kalaky at gmail dot com>
- To: Jairo Balart <jairo dot balart at bsc dot es>
- Cc: gcc at gcc dot gnu dot org
- Date: Fri, 14 Oct 2005 12:36:13 -0300
- Subject: Re: Passing va_args...
- References: <4de0ceaa0510140819l564b62cbnc7fd431ab4098add@mail.gmail.com> <200510141724.45868.jairo.balart@bsc.es>
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 <jairo.balart@bsc.es> wrote:
> are you looking for __VA_ARGS__?
>
> Regards,
> Jairo
>
> On Friday 14 October 2005 15:19, Kalaky wrote:
> > Hello,
> >
> > Once I saw a gcc macro that passes variables arguments to another
> > variable argument function..example:
> >
> > function_1 (int z, ...);
> > function_2 (int z, ...);
> > {
> > return function_1 (z, MACRO);
> > }
> >
> > Does anyone remember the macro name ?
> >
> > TIA
>