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 (Macros): added HAVE_RUBY_*_H.

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@22705 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
nobu 2009-03-02 07:40:13 +00:00
parent a8c4a7e44c
commit 5b35cbf5d3
3 changed files with 15 additions and 0 deletions

View file

@ -1,3 +1,7 @@
Mon Mar 2 16:40:11 2009 Nobuyoshi Nakada <nobu@ruby-lang.org>
* README.EXT, README.EXT.ja (Macros): added HAVE_RUBY_*_H.
Mon Mar 2 12:22:12 2009 Nobuyoshi Nakada <nobu@ruby-lang.org>
* win32/win32.c (init_env): keeps wide chars as wide chars.

View file

@ -1282,6 +1282,11 @@ Means that type rb_io_t is provided.
Means that Symbols will be returned as method names, e.g.,
Module#methods, #singleton_methods and so on.
HAVE_RUBY_*_H
Defined in ruby.h and means correspoinding header is available. For
instance, when HAVE_RUBY_ST_H is defined you should use ruby/st.h not
mere st.h.
Appendix C. Functions Available in extconf.rb

View file

@ -1382,6 +1382,12 @@ USE_SYMBOL_AS_METHOD_NAME
メソッド名を返すメソッドModule#methods, #singleton_methods
などがSymbolを返すことを意味する
HAVE_RUBY_*_H
ruby.h で定義されている.対応するヘッダが提供されていること
を意味するたとえばHAVE_RUBY_ST_H が定義されている場合は
単なる st.h ではなく ruby/st.h を使用する.
Appendix C. extconf.rbで使える関数たち