This is the mail archive of the gcc@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: Passing va_args...


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
>


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]