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]

Calling function with va_list


Hello,

may I ask if it is possible to call any function with prepared va_list?
I mean how can I construct call when I have my own constructed va_list, pointer in form "int (*func)()" to function e.g. "int func(int a, int b, int c)".
Maybe "__builtin_apply" could solve this problem, but I am unable to find any information about how to build arguments to this function (something similar that __builtin_apply_args returns but in my own).
Thanks for any ideas?


PS: How can I register to get all e-mails from this maillist? I am not even sure if this is maillist :)

---
Jan Ringoš, Tringi@Mx-3.cz
http://Tringi.Mx-3.cz



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