モジュール
- Kernel (14)
キーワード
-
check
_ signedness (2) -
check
_ sizeof (2) -
convertible
_ int (2) -
find
_ type (2) -
have
_ struct _ member (2) -
have
_ type (2) -
try
_ type (2)
検索結果
先頭5件
- Kernel
# check _ signedness(type , headers = nil , opts = nil) -> "signed" | "unsigned" | nil - Kernel
# check _ signedness(type , headers = nil , opts = nil) { . . . } -> "signed" | "unsigned" | nil - Kernel
# find _ type(type , opt , *headers) -> Array - Kernel
# find _ type(type , opt , *headers) { . . . } -> Array - Kernel
# have _ type(type , headers = nil , opt = "") -> bool
-
Kernel
# check _ signedness(type , headers = nil , opts = nil) -> "signed" | "unsigned" | nil (46900.0) -
Returns the signedness of the given +type+. You may optionally specify additional +headers+ to search in for the +type+. If the +type+ is found and is a numeric type, a macro is passed as a preprocessor constant to the compiler using the +type+ name, in uppercase, prepended with 'SIGNEDNESS_OF_', followed by the +type+ name, followed by '=X' where 'X' is positive integer if the +type+ is unsigned, or negative integer if the +type+ is signed. For example, if size_t is defined as unsigned, then check_signedness('size_t') would returned +1 and the SIGNEDNESS_OF_SIZE_T=+1 preprocessor macro would be passed to the compiler, and SIGNEDNESS_OF_INT=-1 if check_signedness('int') is done.
Returns the signedness of the given +type+. You may optionally
specify additional +headers+ to search in for the +type+.
If the +type+ is found and is a numeric type, a macro is passed as a
preprocessor constant to the compiler using the +type+ name, in
uppercase, prepended with 'SIGNEDNESS... -
Kernel
# check _ signedness(type , headers = nil , opts = nil) { . . . } -> "signed" | "unsigned" | nil (46900.0) -
Returns the signedness of the given +type+. You may optionally specify additional +headers+ to search in for the +type+. If the +type+ is found and is a numeric type, a macro is passed as a preprocessor constant to the compiler using the +type+ name, in uppercase, prepended with 'SIGNEDNESS_OF_', followed by the +type+ name, followed by '=X' where 'X' is positive integer if the +type+ is unsigned, or negative integer if the +type+ is signed. For example, if size_t is defined as unsigned, then check_signedness('size_t') would returned +1 and the SIGNEDNESS_OF_SIZE_T=+1 preprocessor macro would be passed to the compiler, and SIGNEDNESS_OF_INT=-1 if check_signedness('int') is done.
Returns the signedness of the given +type+. You may optionally
specify additional +headers+ to search in for the +type+.
If the +type+ is found and is a numeric type, a macro is passed as a
preprocessor constant to the compiler using the +type+ name, in
uppercase, prepended with 'SIGNEDNESS... -
Kernel
# find _ type(type , opt , *headers) -> Array (37006.0) -
静的な型 type がシステムに存在するかどうか検査します。
静的な型 type がシステムに存在するかどうか検査します。
@param type 検査したい型の名前を指定します。
@param opt コンパイラに渡す追加のオプションを指定します。
@param headers 追加のヘッダを指定します。
@see Kernel#have_type -
Kernel
# find _ type(type , opt , *headers) { . . . } -> Array (37006.0) -
静的な型 type がシステムに存在するかどうか検査します。
静的な型 type がシステムに存在するかどうか検査します。
@param type 検査したい型の名前を指定します。
@param opt コンパイラに渡す追加のオプションを指定します。
@param headers 追加のヘッダを指定します。
@see Kernel#have_type -
Kernel
# have _ type(type , headers = nil , opt = "") -> bool (28078.0) -
静的な型 type がシステムに存在するかどうか検査します。
...VE_type" を追加し、真を返します。型 type がシステムに存在しない場
合は、偽を返します。
例えば、
require 'mkmf'
have_type('foo') # => true
である場合、HAVE_TYPE_FOO をというプリプロセッサマクロをコンパイラに渡します。
@par... -
Kernel
# have _ type(type , headers = nil , opt = "") { . . . } -> bool (28078.0) -
静的な型 type がシステムに存在するかどうか検査します。
...VE_type" を追加し、真を返します。型 type がシステムに存在しない場
合は、偽を返します。
例えば、
require 'mkmf'
have_type('foo') # => true
である場合、HAVE_TYPE_FOO をというプリプロセッサマクロをコンパイラに渡します。
@par... -
Kernel
# try _ type(type , headers = nil , opt = "") -> bool (27988.0) -
Kernel#have_type を使ってください。
Kernel#have_type を使ってください。
@param type 検査したい型の名前を指定します。
@param headers 追加のヘッダを指定します。
@param opt コンパイラに渡す追加のオプションを指定します。 -
Kernel
# try _ type(type , headers = nil , opt = "") { . . . } -> bool (27988.0) -
Kernel#have_type を使ってください。
Kernel#have_type を使ってください。
@param type 検査したい型の名前を指定します。
@param headers 追加のヘッダを指定します。
@param opt コンパイラに渡す追加のオプションを指定します。 -
Kernel
# convertible _ int(type , headers = nil , opts = nil) (19240.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... -
Kernel
# convertible _ int(type , headers = nil , opts = nil) { . . . } (19240.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... -
Kernel
# check _ sizeof(type , headers = nil) -> Integer | nil (9988.0) -
与えられた型のサイズを返します。
...加し、型のサイズを返します。型 type がシステムに
存在しない場合は、nil を返します。
例えば、
require 'mkmf'
check_sizeof('mystruct') # => 12
である場合、SIZEOF_MYSTRUCT=12 というプリプロセッサマクロをコンパイラに渡します。... -
Kernel
# check _ sizeof(type , headers = nil) { . . . } -> Integer | nil (9988.0) -
与えられた型のサイズを返します。
...加し、型のサイズを返します。型 type がシステムに
存在しない場合は、nil を返します。
例えば、
require 'mkmf'
check_sizeof('mystruct') # => 12
である場合、SIZEOF_MYSTRUCT=12 というプリプロセッサマクロをコンパイラに渡します。... -
Kernel
# have _ struct _ member(type , member , headers = nil) -> bool (9736.0) -
member というメンバを持つ構造体 type がシステムに存在するかどうか検査します。
...真を返します。
member というメンバを持つ構造体 type が存在しない場合は、偽を返します。
例えば
require 'mkmf'
have_struct_member('struct foo', 'bar') # => true
である場合、HAVE_STRUCT_FOO_BAR というプリプロセッサマクロをコンパイラ... -
Kernel
# have _ struct _ member(type , member , headers = nil) { . . . } -> bool (9736.0) -
member というメンバを持つ構造体 type がシステムに存在するかどうか検査します。
...真を返します。
member というメンバを持つ構造体 type が存在しない場合は、偽を返します。
例えば
require 'mkmf'
have_struct_member('struct foo', 'bar') # => true
である場合、HAVE_STRUCT_FOO_BAR というプリプロセッサマクロをコンパイラ...