ffcall
Foreign function call libraries
ffcall
Description
This is a library which can be used to build foreign function call interfaces in embedded interpreters.
Installed libraries and header files: It installs a library libffcall.{a,so}; to link with it, use the compiler option '-lffcall'.
It consists of two parts: * avcall - calling C functions with variable arguments. Its include file is <avcall.h>. * callback - closures with variable arguments as first-class C functions. Its include file is <callback.h>.
Additionally, you can determine the libffcall version by including <ffcall-version.h>.
For backward compatibility with versions 1.x, libraries libavcall.{a,so} and libcallback.{a,so} are installed as well. But they are deprecated; use libffcall.{a,so} instead.
Install
Channel stable v2.5-1
This app is curated in HaikuPorts. Install it from there, it is already available in HaikuDepot.
pkgman install ffcall
Careful: the file comes from HaikuPorts' own server, but installing it by hand is not the way in. It is pkgman that resolves the dependencies an .hpkg does not carry with it, and a package installed on its own may simply not run. Use the pkgman command above, unless you know exactly why you want the file.