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 link the .o file directly in your
pascal unit so that a .so is not needed at runtime.

{$link my_c_wrapper.o}

Regards,

Andrew
_______________________________________________
fpc-pascal maillist  -  fpc-pascal@lists.freepascal.org
http://lists.freepascal.org/mailman/listinfo/fpc-pascal

Reply via email to