[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 convention?
>>     
>
> Not at this time. Also note that that the fastcall convention is not standardised 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/pipermail/fpc-pascal/attachments/20091121/9ed7a474/attachment.html>


More information about the fpc-pascal mailing list