| Server IP : 162.214.74.102 / Your IP : 216.73.217.46 Web Server : Apache System : Linux dedi-4363141.lrsys.com.br 3.10.0-1160.119.1.el7.tuxcare.els25.x86_64 #1 SMP Wed Oct 1 17:37:27 UTC 2025 x86_64 User : lrsys ( 1015) PHP Version : 5.6.40 Disable Function : exec,passthru,shell_exec,system MySQL : ON | cURL : ON | WGET : ON | Perl : ON | Python : ON | Sudo : ON | Pkexec : ON Directory : /proc/self/root/opt/cpanel/ea-ruby24/root/usr/share/ri/system/Fiddle/Importer/ |
Upload File : |
U:RDoc::NormalModule[iI" Importer:EFI"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"[];F@%[I" bind;F@%[I"bind_function;F@%[I"create_value;F@%[I"dlload;F@%[I"extern;F@%[I"handler;F@%[I"import_function;F@%[I"import_symbol;F@%[I"import_value;F@%[I"sizeof;F@%[I"struct;F@%[I"typealias;F@%[I" union;F@%[I" value;F@%[;[ [;[[I"parse_bind_options;F@%[[I" Importer;To;;[ ;@ ;0@%[U:RDoc::Context::Section[i 0o;;[ ;0;0[@ I"Fiddle;TcRDoc::NormalModule