Flowdock
module
Importance_1
v2_4_6 - Show latest stable - 0 notes

A DSL that provides the means to dynamically load libraries and build modules around them including calling extern functions within the C library that has been loaded.

Example

require 'fiddle'
require 'fiddle/import'

module LibSum
  extend Fiddle::Importer
  dlload './libsum.so'
  extern 'double sum(double*, int)'
  extern 'double split(double)'
end
Show files where this module is defined (1 file)
Register or log in to add new notes.