[fpc-pascal]Variable argument counts...
geneb at deltasoft.com
Sun Sep 19 21:58:02 CEST 2004
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
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!
"I'm not crazy, I'm plausibly off-nominal!"
Proud owner of 80-0007
http://www.f15sim.com - The only one of its kind.
More information about the fpc-pascal