PATH:
opt
/
alt
/
ruby34
/
share
/
ri
/
system
/
MakeMakefile
U:RDoc::AnyMethod[iI"convertible_int:ETI"!MakeMakefile#convertible_int;TF:publico:RDoc::Markup::Document:@parts[ o:RDoc::Markup::Paragraph; [ I"HReturns the convertible integer type of the given +type+. You may ;TI"Joptionally specify additional +headers+ to search in for the +type+. ;TI"L_convertible_ means actually the same type, or typedef'd from the same ;TI" type.;To:RDoc::Markup::BlankLine o; ; [I"KIf the +type+ is an integer type and the _convertible_ type is found, ;TI"Othe following macros are passed as preprocessor constants to the compiler ;TI")using the +type+ name, in uppercase.;T@o:RDoc::Markup::List: @type:BULLET:@items[o:RDoc::Markup::ListItem:@label0; [o; ; [I"I+TYPEOF_+, followed by the +type+ name, followed by <code>=X</code> ;TI"4where "X" is the found _convertible_ type name.;To;;0; [o; ; [ I"+TYP2NUM+ and +NUM2TYP+, ;TI"Hwhere +TYP+ is the +type+ name in uppercase with replacing an +_t+ ;TI"Nsuffix with "T", followed by <code>=X</code> where "X" is the macro name ;TI"<to convert +type+ to an Integer object, and vice versa.;T@o; ; [I"BFor example, if +foobar_t+ is defined as unsigned long, then ;TI"P<code>convertible_int("foobar_t")</code> would return "unsigned long", and ;TI"define these macros:;T@o:RDoc::Markup::Verbatim; [I"+#define TYPEOF_FOOBAR_T unsigned long ;TI"##define FOOBART2NUM ULONG2NUM ;TI""#define NUM2FOOBART NUM2ULONG;T:@format0: @fileI"lib/mkmf.rb;T:0@omit_headings_from_table_of_contents_below000[ I"*(type, headers = nil, opts = nil, &b);T@1FI"MakeMakefile;TcRDoc::NormalModule00
[-] log_src-i.ri
[edit]
[-] find_library-i.ri
[edit]
[-] have_library-i.ri
[edit]
[-] rm_rf-i.ri
[edit]
[-] xpopen-i.ri
[edit]
[-] have_var-i.ri
[edit]
[-] rm_rf-c.ri
[edit]
[-] append_ldflags-i.ri
[edit]
[-] create_header-i.ri
[edit]
[-] modified%3f-i.ri
[edit]
[-] convertible_int-i.ri
[edit]
[-] cdesc-MakeMakefile.ri
[edit]
[-] create_tmpsrc-i.ri
[edit]
[-] with_config-i.ri
[edit]
[-] create_makefile-i.ri
[edit]
[+]
Logging
[-] check_signedness-i.ri
[edit]
[-] xsystem-i.ri
[edit]
[-] have_func-i.ri
[edit]
[-] append_cflags-i.ri
[edit]
[-] enable_config-i.ri
[edit]
[-] what_type%3f-i.ri
[edit]
[-] rm_f-i.ri
[edit]
[-] have_struct_member-i.ri
[edit]
[-] dummy_makefile-i.ri
[edit]
[-] egrep_cpp-i.ri
[edit]
[-] have_macro-i.ri
[edit]
[-] have_header-i.ri
[edit]
[-] check_sizeof-i.ri
[edit]
[-] dir_config-i.ri
[edit]
[+]
..
[-] pkg_config-i.ri
[edit]
[-] %5b%5d%3d-c.ri
[edit]
[-] with_cppflags-i.ri
[edit]
[-] have_framework-i.ri
[edit]
[-] %5b%5d-c.ri
[edit]
[-] depend_rules-i.ri
[edit]
[-] rm_f-c.ri
[edit]
[-] conftest_source-i.ri
[edit]
[-] find_header-i.ri
[edit]