%PDF- %PDF-
Mini Shell

Mini Shell

Direktori : /opt/cpanel/ea-ruby24/root/usr/share/ri/system/MakeMakefile/
Upload File :
Create Path :
Current File : //opt/cpanel/ea-ruby24/root/usr/share/ri/system/MakeMakefile/create_header-i.ri

U:RDoc::AnyMethod[iI"create_header:EFI"MakeMakefile#create_header;TF:publico:RDoc::Markup::Document:@parts[o:RDoc::Markup::Paragraph;	[	I"IGenerates a header file consisting of the various macro definitions ;TI"Mgenerated by other methods such as have_func and have_header. These are ;TI"Nthen wrapped in a custom <code>#ifndef</code> based on the +header+ file ;TI")name, which defaults to "extconf.h".;To:RDoc::Markup::BlankLineo;
;	[I"For example:;T@o:RDoc::Markup::Verbatim;	[I"# extconf.rb
;TI"require 'mkmf'
;TI"have_func('realpath')
;TI" have_header('sys/utime.h')
;TI"create_header
;TI"create_makefile('foo')
;T:@format0o;
;	[I"BThe above script would generate the following extconf.h file:;T@o;;	[
I"#ifndef EXTCONF_H
;TI"#define EXTCONF_H
;TI"#define HAVE_REALPATH 1
;TI" #define HAVE_SYS_UTIME_H 1
;TI"#endif
;T;
0o;
;	[I"OGiven that the create_header method generates a file based on definitions ;TI"Nset earlier in your extconf.rb file, you will probably want to make this ;TI"5one of the last methods you call in your script.;T:
@fileI"lib/mkmf.rb;T:0@omit_headings_from_table_of_contents_below000[I"(header = "extconf.h");T@,FI"MakeMakefile;FcRDoc::NormalModule00

Zerion Mini Shell 1.0