diff options
author | Lamont Granquist <lamont@scriptkiddie.org> | 2014-07-20 10:25:31 -0700 |
---|---|---|
committer | Lamont Granquist <lamont@scriptkiddie.org> | 2014-07-20 10:25:31 -0700 |
commit | edfebfe42be47e36ae9b49f72c24bf34b53ebd82 (patch) | |
tree | f2e27522d13530415e4db663e112cc9f22b673b6 | |
parent | 5f6bc8cd60e042ca195816bf59109c71feb15d7b (diff) | |
download | ffi-yajl-lcg/rbx-fiddle.tar.gz |
missing dlopen.rblcg/rbx-fiddle
-rw-r--r-- | lib/ffi_yajl/dlopen.rb | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/lib/ffi_yajl/dlopen.rb b/lib/ffi_yajl/dlopen.rb new file mode 100644 index 0000000..50112a0 --- /dev/null +++ b/lib/ffi_yajl/dlopen.rb @@ -0,0 +1,10 @@ + +require 'ffi' + +module FFI_Yajl + module DLopen + extend FFI::Library + ffi_lib 'dl' + attach_function :dlopen, [ :string, :int ], :pointer +end + |