[fpc-pascal] Functions with variable number of parameters

Felipe Monteiro de Carvalho felipemonteiro.carvalho at gmail.com
Mon Jul 10 21:53:52 CEST 2006


Hello,

While writing the apache pascal headers, I need to convert a c
function like this:

void ap_allow_methods(request_rec *r, int reset, ...);

I know we can implement a variable number of paramaters in pascal
using array of const type. But is that type compatible with a C
function with a variable number of parameters?

I mean, will it work when calling a function written in c in a DLL?

If not, what should I do?

thanks,
-- 
Felipe Monteiro de Carvalho



More information about the fpc-pascal mailing list