D7net
Home
Console
Upload
information
Create File
Create Folder
About
Tools
:
/
proc
/
self
/
root
/
opt
/
alt
/
ruby34
/
share
/
ri
/
system
/
Fiddle
/
Importer
/
Filename :
cdesc-Importer.ri
back
Copy
U:RDoc::NormalModule[iI" Importer:ETI"Fiddle::Importer;T0o:RDoc::Markup::Document:@parts[o;;[ o:RDoc::Markup::Paragraph;[I"KA DSL that provides the means to dynamically load libraries and build ;TI"Imodules around them including calling extern functions within the C ;TI""library that has been loaded.;To:RDoc::Markup::BlankLine S:RDoc::Markup::Heading: leveli: textI"Example;T@o:RDoc::Markup::Verbatim;[I"require 'fiddle' ;TI"require 'fiddle/import' ;TI" ;TI"module LibSum ;TI" extend Fiddle::Importer ;TI" dlload './libsum.so' ;TI") extern 'double sum(double*, int)' ;TI"% extern 'double split(double)' ;TI"end;T:@format0: @fileI"$ext/fiddle/lib/fiddle/import.rb;T:0@omit_headings_from_table_of_contents_below0;0;0[[ I"type_alias;TI"R;T:privateFI"$ext/fiddle/lib/fiddle/import.rb;T[ [[I"Fiddle;To;;[ ;@ ;0@%[I"CParser;To;;[ ;@ ;0@%[[I" class;T[[:public[ [:protected[ [;[ [I" instance;T[[;[[I"[];T@%[I" bind;T@%[I"bind_function;T@%[I"create_value;T@%[I"dlload;T@%[I"extern;T@%[I"handler;T@%[I"import_function;T@%[I"import_symbol;T@%[I"import_value;T@%[I"sizeof;T@%[I"struct;T@%[I"typealias;T@%[I" union;T@%[I" value;T@%[;[ [;[[I"parse_bind_options;T@%[[I" Importer;To;;[ ;@ ;0@%[U:RDoc::Context::Section[i 0o;;[ ;0;0[@ I"Fiddle;TcRDoc::NormalModule