Files
elixir-ffi/README.md
Josh Nussbaum 7150748454 Update readme
2015-09-21 18:55:48 -04:00

23 lines
259 B
Markdown

FFI
===
An easy way to call external functions (e.g. C functions) from Elixir.
## Example Program
```elixir
defmodule MyLib do
use FFI.Library
ffi_lib "c"
attach_function :puts, [:string], :int
end
MyLib.puts(["Hello world"])
```
## License
MIT