⚝
One Hat Cyber Team
⚝
Your IP:
216.73.216.93
Server IP:
65.108.141.171
Server:
Linux server.heloix.com 5.4.0-214-generic #234-Ubuntu SMP Fri Mar 14 23:50:27 UTC 2025 x86_64
Server Software:
Apache
PHP Version:
7.4.33
Buat File
|
Buat Folder
Eksekusi
Dir :
~
/
usr
/
share
/
ri
/
2.7.0
/
system
/
MakeMakefile
/
Edit File: create_header-i.ri
U:RDoc::AnyMethod[iI"create_header:ETI"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::BlankLine o; ; [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;TcRDoc::NormalModule00
Simpan