Update examples and readme to use name option

This commit is contained in:
Josh Nussbaum
2016-06-13 01:56:35 -04:00
parent c577fd6cf8
commit b55c4df0be
2 changed files with 2 additions and 6 deletions

View File

@@ -1,7 +1,5 @@
defmodule MyLib do
use FFI.Library
ffi_lib "libstdc++.so.6"
use FFI.Library, name: "libstdc++.so.6"
attach_function :puts, [:string], :int
end