Linux heracles.o2switch.net 4.18.0-553.62.1.lve.el8.x86_64 #1 SMP Mon Jul 21 17:50:35 UTC 2025 x86_64
/
opt
/
alt
/
ruby21
/
share
/
ri
/
2.1.0
/
system
/
Fiddle
/
CParser
/
//opt/alt/ruby21/share/ri/2.1.0/system/Fiddle/CParser/parse_ctype-i.ri
U:RDoc::AnyMethod[iI"parse_ctype:EFI" Fiddle::CParser#parse_ctype;TF:publico:RDoc::Markup::Document:@parts[o:RDoc::Markup::Paragraph; [I"NGiven a String of C type +ty+, returns the corresponding Fiddle constant.;To:RDoc::Markup::BlankLine o; ; [I"N+ty+ can also accept an Array of C type Strings, and will be returned in ;TI"a corresponding Array.;T@o; ; [I"JIf Hash +tymap+ is provided, +ty+ is expected to be the key, and the ;TI".value will be the C type to be looked up.;T@o; ; [I" Example:;T@o:RDoc::Markup::Verbatim; [I"include Fiddle::CParser ;TI" #=> Object ;TI" ;TI"parse_ctype('int') ;TI" #=> Fiddle::TYPE_INT ;TI" ;TI"parse_ctype('double') ;TI" #=> Fiddle::TYPE_DOUBLE ;TI" ;TI""parse_ctype('unsigned char') ;TI" #=> -Fiddle::TYPE_CHAR;T:@format0: @fileI"%ext/fiddle/lib/fiddle/cparser.rb;T:0@omit_headings_from_table_of_contents_below000[ I"(ty, tymap=nil);T@'FI"CParser;FcRDoc::NormalModule00