このマニュアルは既にメンテナンスが終了したバージョンの Ruby を対象としています。 最新版のマニュアルへ

Ruby 2.1.0 リファレンスマニュアル

instance method DL::Importer#typealias

typealias(new, orig) -> ()[permalink][rdoc]

extern や struct で利用する型の別名を定義します。

[PARAM] new:
別名(文字列)
[PARAM] orig:
別名を付けたい型の名前(文字列)

[SEE_ALSO] DL::Importer#extern, DL::Importer#sizeof, DL::Importer#struct, DL::Importer#union