別のキーワード
ライブラリ
- delegate (12)
- digest (12)
-
irb
/ xmp (12) - json (36)
-
minitest
/ spec (1) - mkmf (636)
- psych (24)
- rubygems (12)
-
rubygems
/ custom _ require (12) -
rubygems
/ timer (12) - timeout (16)
- un (12)
キーワード
- DelegateClass (12)
- Digest (12)
- JSON (12)
-
arg
_ config (12) -
convertible
_ int (24) - describe (1)
-
egrep
_ cpp (24) -
enable
_ config (24) -
find
_ executable (12) -
find
_ header (12) -
find
_ library (24) - gem (12)
-
have
_ devel? (12) -
have
_ framework (24) -
have
_ func (24) -
have
_ header (24) -
have
_ library (24) -
have
_ macro (24) -
have
_ struct _ member (24) -
have
_ type (24) -
have
_ var (24) -
install
_ rb (12) - j (12)
- jj (12)
- libpathflag (12)
-
link
_ command (12) -
merge
_ libs (12) -
psych
_ y (12) - require (12)
- time (12)
- timeout (16)
-
try
_ compile (24) -
try
_ cpp (24) -
try
_ func (24) -
try
_ link (24) -
try
_ run (24) -
try
_ static _ assert (24) -
try
_ type (24) -
try
_ var (24) -
wait
_ writable (12) -
with
_ config (24) -
with
_ werror (24) - xmp (12)
- xpopen (12)
- y (12)
検索結果
先頭5件
-
Kernel
# libpathflag(libpath = $ DEFLIBPATH| $ LIBPATH) -> String (6402.0) -
与えられた libpath を -L 付きの文字列に変換して返します。
...与えられた libpath を -L 付きの文字列に変換して返します。
@param libpath LIBPATH に指定する値を指定します。... -
Kernel
# have _ struct _ member(type , member , headers = nil) -> bool (6202.0) -
member というメンバを持つ構造体 type がシステムに存在するかどうか検査します。
...member というメンバを持つ構造体 type がシステムに存在するかどうか検査します。
member というメンバを持つ構造体 type がシステムに存在する場合は、
グローバル変数 $defs に "-DHAVE_type_member" を追加し、真を返します。
member......。
例えば
require 'mkmf'
have_struct_member('struct foo', 'bar') # => true
である場合、HAVE_STRUCT_FOO_BAR というプリプロセッサマクロをコンパイラに渡します。
また、後方互換性のために HAVE_ST_BAR というプリプロセッサマクロも定義し......ます。
@param type 検査したい構造体の名前を指定します。
@param member 検査したい構造体のメンバの名前を指定します。
@param headers 追加のヘッダファイルを指定します。... -
Kernel
# have _ struct _ member(type , member , headers = nil) { . . . } -> bool (6202.0) -
member というメンバを持つ構造体 type がシステムに存在するかどうか検査します。
...member というメンバを持つ構造体 type がシステムに存在するかどうか検査します。
member というメンバを持つ構造体 type がシステムに存在する場合は、
グローバル変数 $defs に "-DHAVE_type_member" を追加し、真を返します。
member......。
例えば
require 'mkmf'
have_struct_member('struct foo', 'bar') # => true
である場合、HAVE_STRUCT_FOO_BAR というプリプロセッサマクロをコンパイラに渡します。
また、後方互換性のために HAVE_ST_BAR というプリプロセッサマクロも定義し......ます。
@param type 検査したい構造体の名前を指定します。
@param member 検査したい構造体のメンバの名前を指定します。
@param headers 追加のヘッダファイルを指定します。... -
Kernel
# merge _ libs(*libs) -> [String] (6202.0) -
@todo 使われてない
...@todo 使われてない
@param libs ???... -
Kernel
# convertible _ int(type , headers = nil , opts = nil) (6102.0) -
Returns the convertible integer type of the given +type+. You may optionally specify additional +headers+ to search in for the +type+. _Convertible_ means actually same type, or typedefed from same type. If the +type+ is a integer type and _convertible_ type is found, following macros are passed as preprocessor constants to the compiler using the +type+ name, in uppercase. * 'TYPEOF_', followed by the +type+ name, followed by '=X' where 'X' is the found _convertible_ type name. * 'TYP2NUM' and 'NUM2TYP, where 'TYP' is the +type+ name in uppercase with replacing '_t' suffix with 'T', followed by '=X' where 'X' is the macro name to convert +type+ to +Integer+ object, and vice versa. For example, if foobar_t is defined as unsigned long, then convertible_int("foobar_t") would return "unsigned long", and define macros: #define TYPEOF_FOOBAR_T unsigned long #define FOOBART2NUM ULONG2NUM #define NUM2FOOBART NUM2ULONG
...Returns the convertible integer type of the given +type+. You may
optionally specify additional +headers+ to search in for the +type+.
_Convertible_ means actually same type, or typedefed from same type.
If the +type+ is a integer type and _convertible_ type is found,
following macros are p......followed by the +type+ name, followed by '=X' where 'X'
is the found _convertible_ type name. * 'TYP2NUM' and 'NUM2TYP,
where 'TYP' is the +type+ name in uppercase with replacing '_t'
suffix with 'T', followed by '=X' where 'X' is the macro name to
convert +type+ to +Integer+ object, an......d vice versa.
For example, if foobar_t is defined as unsigned long, then
convertible_int("foobar_t") would return "unsigned long", and define
macros:
#define TYPEOF_FOOBAR_T unsigned long
#define FOOBART2NUM ULONG2NUM
#define NUM2FOOBART NUM2ULONG... -
Kernel
# convertible _ int(type , headers = nil , opts = nil) { . . . } (6102.0) -
Returns the convertible integer type of the given +type+. You may optionally specify additional +headers+ to search in for the +type+. _Convertible_ means actually same type, or typedefed from same type. If the +type+ is a integer type and _convertible_ type is found, following macros are passed as preprocessor constants to the compiler using the +type+ name, in uppercase. * 'TYPEOF_', followed by the +type+ name, followed by '=X' where 'X' is the found _convertible_ type name. * 'TYP2NUM' and 'NUM2TYP, where 'TYP' is the +type+ name in uppercase with replacing '_t' suffix with 'T', followed by '=X' where 'X' is the macro name to convert +type+ to +Integer+ object, and vice versa. For example, if foobar_t is defined as unsigned long, then convertible_int("foobar_t") would return "unsigned long", and define macros: #define TYPEOF_FOOBAR_T unsigned long #define FOOBART2NUM ULONG2NUM #define NUM2FOOBART NUM2ULONG
...Returns the convertible integer type of the given +type+. You may
optionally specify additional +headers+ to search in for the +type+.
_Convertible_ means actually same type, or typedefed from same type.
If the +type+ is a integer type and _convertible_ type is found,
following macros are p......followed by the +type+ name, followed by '=X' where 'X'
is the found _convertible_ type name. * 'TYP2NUM' and 'NUM2TYP,
where 'TYP' is the +type+ name in uppercase with replacing '_t'
suffix with 'T', followed by '=X' where 'X' is the macro name to
convert +type+ to +Integer+ object, an......d vice versa.
For example, if foobar_t is defined as unsigned long, then
convertible_int("foobar_t") would return "unsigned long", and define
macros:
#define TYPEOF_FOOBAR_T unsigned long
#define FOOBART2NUM ULONG2NUM
#define NUM2FOOBART NUM2ULONG... -
Kernel
# describe(desc) { . . . } (6102.0) -
与えられた説明文から名前を作成してテストクラスを定義します。
与えられた説明文から名前を作成してテストクラスを定義します。
クラスの定義は、与えられたブロックの内容になります。
@param desc ブロックに対する説明を指定します。 -
Kernel
# enable _ config(config , default) -> bool | String (6102.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
# enable _ config(config , default) {|config , default| . . . } -> bool | String (6102.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
# find _ executable(bin , path = nil) -> String | nil (6102.0) -
パス path から実行ファイル bin を探します。
...ら実行ファイル bin を探します。
実行ファイルが見つかった場合は、そのフルパスを返します。
実行ファイルが見つからなかった場合は、nilを返します。
このメソッドは Makefile を変更しません。
@param bin 実行ファイルの......名前を指定します。
@param path パスを指定します。デフォルトは環境変数 PATH です。
環境変数 PATH が定義されていない場合は /usr/local/bin,
/usr/ucb, /usr/bin, /bin を使います。...