PierceNg / libffidemo

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

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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).

About

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

License:MIT License


Languages

Language:Smalltalk 70.6%Language:C 15.8%Language:Makefile 9.0%Language:HTML 4.6%