るりまサーチ (Ruby 2.1.0)

最速Rubyリファレンスマニュアル検索!
6件ヒット [1-6件を表示] (0.062秒)
トップページ > クエリ:l[x] > バージョン:2.1.0[x] > クエリ:Macros[x]

別のキーワード

  1. matrix l
  2. kernel $-l
  3. _builtin $-l
  4. lupdecomposition l
  5. l matrix

ライブラリ

モジュール

キーワード

検索結果

Syslog::Macros (63001.0)

このモジュールには syslog のユーティリティ関数が定義されています。

このモジュールには syslog のユーティリティ関数が定義されています。

Syslog::Macros.#LOG_MASK(priority) -> Integer (36301.0)

1つの優先度に対するマスクを作成します。

1つの優先度に対するマスクを作成します。

@param priority priority は優先度を示す定数を指定します。
詳しくは、Syslog::Levelを参照してください。

例:
require 'syslog'
Syslog.mask = Syslog::LOG_MASK(Syslog::LOG_ERR)

Syslog::Macros.#LOG_UPTO(priority) -> Integer (36301.0)

priorityまでのすべての優先度のマスクを作成します。

priorityまでのすべての優先度のマスクを作成します。

@param priority priority は優先度を示す定数を指定します。
詳しくは、Syslog::Levelを参照してください。

例:
require 'syslog'
Syslog.mask = Syslog::LOG_UPTO(Syslog::LOG_ERR)

Kernel#convertible_int(type, headers = nil, opts = nil) (18397.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) { ... } (18397.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...

絞り込み条件を変える

Syslog::Constants (9019.0)

このモジュールにはシステムで使用可能なLOG_*定数、モジュール関数が定義さ れています。

このモジュールにはシステムで使用可能なLOG_*定数、モジュール関数が定義さ
れています。

例:
require 'syslog'
include Syslog::Constants

それぞれの定数、モジュール関数は以下のモジュールに分けて定義されています。

* Syslog::Option
* Syslog::Facility
* Syslog::Level
* Syslog::Macros