an interface to libffi which enables you to call C functions from Pure and vice versa
pure-ffi provides an interface to libffi which enables you to call C functions from Pure and vice versa. It goes beyond Pure’s built-in C interface in that it also handles C structs and makes Pure functions callable from C. Moreover, depending on the libffi implementation, it may also be possible to call foreign languages other than C.
pure-ffi provides an interface to libffi which enables you to call C functions from Pure and vice versa. It goes beyond Pure’s built-in C interface in that it also handles C structs and makes Pure functions callable from C. Moreover, depending on the libffi implementation, it may also be possible to call foreign languages other than C.
To install pure-ffi, run the following command in macOS terminal (Applications->Utilities->Terminal)
sudo port install pure-ffi
To see what files were installed by pure-ffi, run:
port contents pure-ffi
To later upgrade pure-ffi, run:
sudo port selfupdate && sudo port upgrade pure-ffi
Reporting an issue on MacPorts Trac
The MacPorts Project uses a system called Trac to file tickets to report bugs and enhancement requests.
Though anyone may search Trac for tickets, you must have a GitHub account in order to login to Trac to create tickets.