From a11b566e92848db2564eab9e36d31da2b5484daa Mon Sep 17 00:00:00 2001 From: Josh Nussbaum Date: Mon, 21 Sep 2015 19:12:53 -0400 Subject: [PATCH] Update example in readme --- README.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index 771953f..be429da 100644 --- a/README.md +++ b/README.md @@ -13,12 +13,12 @@ Inspired by [Ruby's FFI](https://github.com/ffi/ffi) defmodule MyLib do use FFI.Library - ffi_lib "c" + ffi_lib "libstdc++.so.6" attach_function :puts, [:string], :int end -MyLib.puts(["Hello world"]) +MyLib.puts(["Hello World from C stdlib"]) ``` ## Installation