[Gambas-user] Books about compilers and interpreters

Benoit Minisini gambas at ...1...
Wed Sep 3 09:45:16 CEST 2008


On mercredi 03 septembre 2008, Kari Laine wrote:
>
> Could you tell me what you need libffi for?
>
>

'ffi' stand for "foreign function interface". It is a library that allows you 
to dynamically forge a function call at runtime for any function, any CPU 
(almost) and whatever how arguments are pushed on the stack or CPU registers.

Without this library, it is impossible to cleanly implement EXTERN function 
calls in Gambas (and any other interpreters).

Regards,

-- 
Benoit Minisini




More information about the User mailing list