Ruby 1.8.7 リファレンスマニュアル > ライブラリ一覧 > dl/importライブラリ > DL::Importableモジュール > typealias

instance method DL::Importable#typealias

typealias(newtype, oldtype) -> ()

[TODO]

newtype 型を oldtype 型のエイリアスとして定義します。 newtype で与えた型は extern や callback メソッド のプロトタイプを与えるときに利用します。

module DL::Importable