Skip to content

Instantly share code, notes, and snippets.

@mfpiccolo
Created July 26, 2015 18:38
Show Gist options
  • Save mfpiccolo/c158acb562cf491c5bf4 to your computer and use it in GitHub Desktop.
Save mfpiccolo/c158acb562cf491c5bf4 to your computer and use it in GitHub Desktop.
require 'ffi'
module Scrape
extend FFI::Library
ffi_lib './target/debug/libscrape.dylib'
attach_function :run_threads, [], :void
end
Scrape.run_threads()
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment