diff options
| author | nobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2009-02-23 01:15:37 +0000 |
|---|---|---|
| committer | nobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2009-02-23 01:15:37 +0000 |
| commit | a5d4f06be18e1fe2007ed6966d6c83793f8bc339 (patch) | |
| tree | b3058bfaea7de8a575c2de8eb01c878c52ec081a /README.EXT | |
| parent | 48b10bb6a9a68b27770fce90a37b9b437a390c28 (diff) | |
| download | ruby-a5d4f06be18e1fe2007ed6966d6c83793f8bc339.tar.gz ruby-a5d4f06be18e1fe2007ed6966d6c83793f8bc339.tar.xz ruby-a5d4f06be18e1fe2007ed6966d6c83793f8bc339.zip | |
* README.EXT, README.EXT.ja: added macros for the Compatibilities.
git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@22565 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'README.EXT')
| -rw-r--r-- | README.EXT | 25 |
1 files changed, 25 insertions, 0 deletions
diff --git a/README.EXT b/README.EXT index 20aeaa616..17467477c 100644 --- a/README.EXT +++ b/README.EXT @@ -1252,6 +1252,31 @@ The definition of rb_event_hook_func_t is below: Removes the specified hook function. +** Macros for the Compatibilities + +Some macros to check API compatibilities are available by default. + + NORETURN_STYLE_NEW + +Means that NORETURN macro is functional style instead of prefix. + + HAVE_RB_DEFINE_ALLOC_FUNC + +Means that function rb_define_alloc_func() is provided, that means the +allocation framework is used. This is same as the result of +have_func("rb_define_alloc_func", "ruby.h"). + + HAVE_RB_REG_NEW_STR + +Means that function rb_reg_new_str() is provided, that creates Regexp +object from String object. This is same as the result of +have_func("rb_reg_new_str", "ruby.h"). + + HAVE_RB_IO_T + +Means that type rb_io_t is provided. + + Appendix C. Functions Available in extconf.rb These functions are available in extconf.rb: |
