Hello, I am trying to write a Perl to C extension that passes variable-length parameter lists from Perl to C. While I know how to pass variable-length argument lists from Perl to my XS code, I am not sure how to then call a C function with this variable number of arguments.
I tried using the macros from stdarg.h, but this induced multiple compilation problems. Is there any way to do this without writing a switch statement in my XS code (which would be non-optimal, as I would like to be able to pass thousands of arguments)? Thanks in advance. --Jennifer