977件ヒット
[1-100件を表示]
(0.115秒)
ライブラリ
キーワード
- DelegateClass (12)
- Digest (12)
- JSON (12)
- Pathname (12)
-
arg
_ config (12) -
cc
_ command (12) -
check
_ signedness (24) -
check
_ sizeof (24) - chmod (12)
-
convertible
_ int (24) - cp (12)
-
cpp
_ command (12) -
create
_ header (12) -
create
_ makefile (12) -
create
_ tmpsrc (12) - desc (12)
- describe (1)
-
dir
_ config (12) - directory (12)
-
dummy
_ makefile (12) -
egrep
_ cpp (24) -
enable
_ config (24) -
file
_ create (12) -
find
_ executable (12) -
find
_ library (24) - gem (12)
-
have
_ func (24) -
have
_ library (24) -
have
_ macro (24) -
have
_ struct _ member (24) -
install
_ files (12) -
install
_ rb (12) - j (12)
- jj (12)
-
link
_ command (12) -
log
_ src (12) - mkmf (12)
- modified? (12)
- namespace (12)
-
psych
_ y (12) -
rm
_ f (12) -
rm
_ rf (12) - rule (12)
- scanf (12)
- time (12)
- timeout (16)
- touch (12)
-
try
_ compile (24) -
try
_ constant (24) -
try
_ cpp (24) -
try
_ do (24) -
try
_ func (24) -
try
_ link (24) -
try
_ run (24) -
try
_ static _ assert (24) -
with
_ config (24) -
with
_ werror (24) - xmp (12)
- xpopen (24)
- xsystem (12)
- y (12)
検索結果
先頭5件
- Kernel
# enable _ config(config , default) {|config , default| . . . } -> bool | String - Kernel
# with _ config(config , default = nil) {|config , default| . . . } -> bool | String - Kernel
# have _ macro(macro , headers = nil , opt = "") -> bool - Kernel
# have _ macro(macro , headers = nil , opt = "") { . . . } -> bool - Kernel
# try _ constant(const , headers = nil , opt = "") -> Integer | nil
-
Kernel
# enable _ config(config , default) {|config , default| . . . } -> bool | String (6302.0) -
configure のオプションを検査します。
...
configure のオプションを検査します。
configure のオプションに --enable-<config> が指定された場合は、真を返し
ます。--disable-<config> が指定された場合は。偽を返します。どちらでもな
い場合は default を返します。
これはデバ......義を、追加するのに役立ちます。
@param config configure のオプションの名前を指定します。
@param default デフォルト値を返します。
例
require 'mkmf'
if enable_config("debug")
$defs.push("-DOSSL_DEBUG") unless $defs.include? "-DOSSL_DEBUG"
end... -
Kernel
# with _ config(config , default = nil) {|config , default| . . . } -> bool | String (6302.0) -
configure のオプションを検査します。
...
configure のオプションを検査します。
configure のオプションに --with-<config> が指定された場合は真を返しま
す。--without-<config> が指定された場合は偽を返します。どちらでもない場
合は default を返します。
これはデバッグ情......定義を、追加するのに役立ちます。
@param config configure のオプションの名前を指定します。
@param default デフォルト値を返します。
例
require 'mkmf'
if with_config("debug")
$defs.push("-DOSSL_DEBUG") unless $defs.include? "-DOSSL_DEBUG"
end... -
Kernel
# have _ macro(macro , headers = nil , opt = "") -> bool (6208.0) -
与えられた macro が共通のヘッダファイルか headers に定義されている場合は真を返します。 そうでない場合は偽を返します。
...た macro が共通のヘッダファイルか headers に定義されている場合は真を返します。
そうでない場合は偽を返します。
@param macro マクロの名前を指定します。
@param headers 追加のヘッダファイルを指定します。
@param opt C コン... -
Kernel
# have _ macro(macro , headers = nil , opt = "") { . . . } -> bool (6208.0) -
与えられた macro が共通のヘッダファイルか headers に定義されている場合は真を返します。 そうでない場合は偽を返します。
...た macro が共通のヘッダファイルか headers に定義されている場合は真を返します。
そうでない場合は偽を返します。
@param macro マクロの名前を指定します。
@param headers 追加のヘッダファイルを指定します。
@param opt C コン... -
Kernel
# try _ constant(const , headers = nil , opt = "") -> Integer | nil (6208.0) -
定数 const がシステムに存在するかどうか検査します。 Kernel#have_const を使ってください。
...定数 const がシステムに存在するかどうか検査します。
Kernel#have_const を使ってください。
@param const C 言語の定数名を指定します。
@param headers 追加のヘッダファイルを指定します。
@param opt コンパイラに渡すオプションを......指定します。
$CFLAGS もコンパイラには渡されます。
@return 定数 const がシステムに存在する場合はその値を返します。
定数 const がシステムに存在しない場合は nil を返します。... -
Kernel
# try _ constant(const , headers = nil , opt = "") { . . . } -> Integer | nil (6208.0) -
定数 const がシステムに存在するかどうか検査します。 Kernel#have_const を使ってください。
...定数 const がシステムに存在するかどうか検査します。
Kernel#have_const を使ってください。
@param const C 言語の定数名を指定します。
@param headers 追加のヘッダファイルを指定します。
@param opt コンパイラに渡すオプションを......指定します。
$CFLAGS もコンパイラには渡されます。
@return 定数 const がシステムに存在する場合はその値を返します。
定数 const がシステムに存在しない場合は nil を返します。... -
Kernel
# DelegateClass(superclass) -> object (6202.0) -
クラス superclass のインスタンスへメソッドを委譲するクラスを定義し、 そのクラスを返します。
...クラス superclass のインスタンスへメソッドを委譲するクラスを定義し、
そのクラスを返します。
@param superclass 委譲先となるクラス
例:
//emlist{
require 'delegate'
class ExtArray < DelegateClass(Array)
def initialize
super([])
end
end
a = E......xtArray.new
p a.class # => ExtArray
a.push 25
p a # => [25]
//}... -
Kernel
# arg _ config(config , default) { . . . } -> object | String | true | nil (6202.0) -
configure オプション --config の値を返します。
...
configure オプション --config の値を返します。
@param config オプションを文字列で指定します。
@param default 引数 config で指定したオプションのデフォルト値を指定します。
@return オプションが指定されてた場合は true を、指定......ンに引数が指定されていた場合は指定した文字列を返します。
例えば extconf.rb で arg_config メソッドを使う場合、
$ ruby extconf.rb --foo --bar=baz
と実行したとき、arg_config("--foo") の値は true、
arg_config("--bar") の値は "baz" です。... -
Kernel
# enable _ config(config , default) -> bool | String (6202.0) -
configure のオプションを検査します。
...
configure のオプションを検査します。
configure のオプションに --enable-<config> が指定された場合は、真を返し
ます。--disable-<config> が指定された場合は。偽を返します。どちらでもな
い場合は default を返します。
これはデバ......義を、追加するのに役立ちます。
@param config configure のオプションの名前を指定します。
@param default デフォルト値を返します。
例
require 'mkmf'
if enable_config("debug")
$defs.push("-DOSSL_DEBUG") unless $defs.include? "-DOSSL_DEBUG"
end...