Skip to content

estebanlm/TalkFFI

Repository files navigation

TalkFFI

Automatic FFI generation for Pharo

This is a port of the project originally made by Ciprian Teodorov.

For now it supports the generation of UFFI binding, but the infrastructure should be easily retargetable to enable generation of bindings to other libraries (even other languages maybe).

To load the project evaluate:

Metacello new 
  repository: 'github://estebanlm/TalkFFI';
  baseline: 'TalkFFI';
  load.

IMPORTANT: You will need to define the path to your 32bit libclang dynamic library (release 3.9) in:

LibClangMap>>macModuleName.

For some usage scenarios look at:

CLForeign2NBGenerator libClang39Mapping.
CLForeign2NBGenerator llvmc39Mapping .

About

Automatic FFI generation for Pharo

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published