b39d5eaf1c6bbbd5e2ebdc076a81fb95efb10ca3
FFI
An easy way to call external functions (e.g. C functions) from Elixir.
** This is alpha software **
Example Program
defmodule MyLib do
use FFI.Library
ffi_lib "c"
attach_function :puts, [:string], :int
end
MyLib.puts(["Hello world"])
Installation
hub clone joshnuss/elixir-ffi
cd elixir-ffi
make
Running Examples
iex run examples/basic.exs
License
MIT
Languages
Elixir
52.4%
C
42.9%
Makefile
4.7%