A C library to demonstrate Pharo Smalltalk's Unified FFI.
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
DemoFFI.package
.filetree
.gitignore
LICENSE
Makefile
README.md
libffidemo.c

README.md

libffidemo

A C library to demonstrate Pharo Smalltalk's Unified FFI.

The libffidemo.c file has to be compiled into a 32-bit dynamic library (until 64-bit support lands in the VM). The makefile has the correct invocations for that (run make libffidemo.dylib on OS X, or make libffidemo.so on Linux).

The Pharo code implementing the FFI bindings can be loaded from this repo using GitFileTree (it was originally committed to SmalltalkHub).