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
/
ruby27
/
share
/
ri
/
system
/
MakeMakefile
/
//opt/alt/ruby27/share/ri/system/MakeMakefile/have_struct_member-i.ri
U:RDoc::AnyMethod[iI"have_struct_member:ETI"$MakeMakefile#have_struct_member;TF:privateo:RDoc::Markup::Document:@parts[o:RDoc::Markup::Paragraph; [ I"MReturns whether or not the struct of type +type+ contains +member+. If ;TI"Mit does not, or the struct type can't be found, then false is returned. ;TI"NYou may optionally specify additional +headers+ in which to look for the ;TI"5struct (in addition to the common header files).;To:RDoc::Markup::BlankLine o; ; [I"LIf found, a macro is passed as a preprocessor constant to the compiler ;TI"Kusing the type name and the member name, in uppercase, prepended with ;TI" +HAVE_+.;T@o; ; [I"JFor example, if <code>have_struct_member('struct foo', 'bar')</code> ;TI"Oreturned true, then the +HAVE_STRUCT_FOO_BAR+ preprocessor macro would be ;TI"passed to the compiler.;T@o; ; [I">+HAVE_ST_BAR+ is also defined for backward compatibility.;T: @fileI"lib/mkmf.rb;T:0@omit_headings_from_table_of_contents_below000[ I"0(type, member, headers = nil, opt = "", &b);T@FI"MakeMakefile;TcRDoc::NormalModule00