[squeak-dev] Building a linux/Pi library to call via FFI

tim Rowledge tim at rowledge.org
Wed Sep 9 18:55:14 UTC 2015


On 09-09-2015, at 11:44 AM, Chris Cunningham <cunningham.cb at gmail.com> wrote:
> ok.  Does FFI know to prepend the lib and postpend the .so in Unix for you?  I'm curious.

Well, it does for other libraries; for example calling libwiringPi.so you use #<cdecl: void ‘foo’ (int) module: ‘wiringPi’>

tim
--
tim Rowledge; tim at rowledge.org; http://www.rowledge.org/tim
Strange OpCodes: SNARF: System Normalize And Reset Flags




More information about the Squeak-dev mailing list