This repository has been archived on 2018-10-12. You can view files and clone it, but cannot push or open issues or pull requests.
literate-tribble/embed/embed.rb

11 lines
159 B
Ruby
Raw Normal View History

2015-12-10 14:14:30 -05:00
require 'ffi'
module Hello
extend FFI::Library
ffi_lib 'target/release/libembed.dylib'
attach_function :process, [], :void
end
Hello.process
puts 'done!'