I'm working on wrapping a C library that has a function that can handle a variable number of parameters. What mechanism can I use in FPC to call this correctly?
The C prototype for the function looks like this:
void QMCall(char * subrname, short int argc, ...);The function can handle up to 20 parameters after the 'argc' parameter. Would I have to define all 20 possible parameters? Each of the optional parameters is a string type.
Thanks for the help!
g.
