Re: [fpc-pascal] Using C functions

2009-11-22 Thread Andrew Haines
Ivo Steinmann wrote: >>> >> Thanks, I thought so. >> >> I am considering to write a C library (cdecl) to wrap the calls to the >> C library(fastcall), but it doesn't feel right. >> >> You can compile your c wrapper and lin

Re: [fpc-pascal] Using C functions

2009-11-21 Thread Ivo Steinmann
Wimpie Nortje schrieb: Jonas Maebe wrote: On 21 Nov 2009, at 20:16, Wimpie Nortje wrote: Is there any way to use a C library that use the __fastcall calling convention? Not at this time. Also note that that the fastcall convention is not standardised and varies between different C

Re: [fpc-pascal] Using C functions

2009-11-21 Thread Wimpie Nortje
Jonas Maebe wrote: On 21 Nov 2009, at 20:16, Wimpie Nortje wrote: Is there any way to use a C library that use the __fastcall calling convention? Not at this time. Also note that that the fastcall convention is not standardised and varies between different C compilers. Thanks,

Re: [fpc-pascal] Using C functions

2009-11-21 Thread Jonas Maebe
On 21 Nov 2009, at 20:16, Wimpie Nortje wrote: > Is there any way to use a C library that use the __fastcall calling > convention? Not at this time. Also note that that the fastcall convention is not standardised and varies between different C compilers. Jonas