module
Fiddle::Importer
v2_6_3 -
Show latest stable
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
Included modules
- Fiddle
- Fiddle::CParser
Attributes
| [R] | type_alias |
Files
- ext/fiddle/lib/fiddle/import.rb