Flowdock
module
Importance_1
Ruby latest stable (v2_5_5) - 0 notes

Module deprecated or moved

This module is deprecated or moved on the latest stable version. The last existing version (v2_1_10) is shown here.

DL::Importer includes 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 'dl'
require 'dl/import'

module LibSum
  extend DL::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.