Re: [fpc-pascal] Functions with variable number of parameters

2006-07-11 Thread Felipe Monteiro de Carvalho
On 7/10/06, Florian Klaempfl <[EMAIL PROTECTED]> wrote: Use array of const with cdecl, it will work as expected. Thank you very much. -- Felipe Monteiro de Carvalho ___ fpc-pascal maillist - fpc-pascal@lists.freepascal.org http://lists.freepascal.o

Re: [fpc-pascal] Functions with variable number of parameters

2006-07-10 Thread Florian Klaempfl
Felipe Monteiro de Carvalho wrote: > 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 i

[fpc-pascal] Functions with variable number of parameters

2006-07-10 Thread Felipe Monteiro de Carvalho
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 vari