pure-ffi

v 0.16 Updated: 2 years, 3 months ago

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.

https://github.com/agraef/pure-lang/wiki/Addons#pure-ffi

To install pure-ffi, paste this in macOS terminal after installing MacPorts

sudo port install pure-ffi

Add to my watchlist

Installations 1
Requested Installations 0