[fpc-pascal] Using C functions

Wimpie Nortje wimpienortje at gmail.com
Sat Nov 21 20:27:09 CET 2009



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 conv=
ention?
>>     =

>
> Not at this time. Also note that that the fastcall convention is not stan=
dardised and varies between different C compilers.
>
>   =

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.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.freepascal.org/lists/fpc-pascal/attachments/20091121/9ed7=
a474/attachment.htm


More information about the fpc-pascal mailing list