1
0
Fork 0
mirror of https://github.com/ruby/ruby.git synced 2022-11-09 12:17:21 -05:00

* README.EXT, README.EXT.ja: added macros for the Compatibilities.

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@22565 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
nobu 2009-02-23 01:15:37 +00:00
parent 02bfe1f6e7
commit 7e162b150d
3 changed files with 54 additions and 0 deletions

View file

@ -1350,6 +1350,31 @@ rb_event_hook_func_t
指定されたフック関数を削除します.
** 互換性のためのマクロ
APIの互換性をチェックするために以下のマクロがデフォルトで定義されています
NORETURN_STYLE_NEW
NORETURN マクロが関数型マクロとして定義されていることを意味する.
HAVE_RB_DEFINE_ALLOC_FUNC
rb_define_alloc_func() 関数が提供されていること、つまり
allocation framework が使われることを意味する.
have_func("rb_define_alloc_func", "ruby.h")
の結果と同じ.
HAVE_RB_REG_NEW_STR
StringオブジェクトからRegexpオブジェクトを作る
rb_reg_new_str() 関数が提供されていることを意味する.
have_func("rb_reg_new_str", "ruby.h").
の結果と同じ.
HAVE_RB_IO_T
rb_io_t 型が提供されていることを意味する.
Appendix C. extconf.rbで使える関数たち