Package ffcall

Libraries for foreign function call interfaces

http://www.gnu.org/software/libffcall/

This is a collection of four libraries which can be used to build
foreign function call interfaces in embedded interpreters.  The four
packages are:
 - avcall: calling C functions with variable arguments
 - vacall: C functions accepting variable argument prototypes
 - trampoline: closures as first-class C functions
 - callback: closures with variable arguments as first-class C functions
   (a reentrant combination of vacall and trampoline)
Library Functions (Section 3)
ffcall-avcall
This set of macros builds an argument list for a C function and calls the function on it. It significantly reduces the amount of `glue' code required for...
ffcall-callback
These functions implement closures with variable arguments as first-class C functions. Closures as first-class C functions means that they fit into a function...
ffcall-trampoline
These functions implement closures as first-class C functions. A closure consists of a regular C function and a piece of data which gets passed to the C...
ffcall-trampoline_r
These functions implement closures as first-class C functions. A closure consists of a regular C function and a piece of data which gets passed to the C...
ffcall-vacall
This set of macros permit a C function function to be called with variable arguments and to return variable return values. This is much like the varargs(3)...