るりまサーチ (Ruby 2.1.0)

最速Rubyリファレンスマニュアル検索!
1件ヒット [1-1件を表示] (0.023秒)
トップページ > クエリ:String[x] > バージョン:2.1.0[x] > クエリ:EXT[x] > ライブラリ:mkmf[x]

別のキーワード

  1. string []=
  2. string []
  3. string slice
  4. string slice!
  5. string gsub

モジュール

検索結果

Kernel#create_header(header = "extconf.h") -> String (610.0)

Kernel#have_func, Kernel#have_header などの検査結果を元に、 ヘッダファイルを生成します。

...eader ヘッダファイルの名前を指定します。

@return ヘッダファイルの名前を返します。



# extconf.rb
require 'mkmf'
have_func('realpath')
have_header('sys/utime.h')
create_header
create_makefile('foo')

上の extconf.rb は以下の extconf.h を生成...