aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--ChangeLog4
-rw-r--r--README.EXT5
-rw-r--r--README.EXT.ja6
3 files changed, 15 insertions, 0 deletions
diff --git a/ChangeLog b/ChangeLog
index 32a9e4e835..774a21afb6 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -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.
diff --git a/README.EXT b/README.EXT
index e5760c184a..3bdb9d280b 100644
--- a/README.EXT
+++ b/README.EXT
@@ -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
diff --git a/README.EXT.ja b/README.EXT.ja
index c4fd7dab4b..b483fcb9ca 100644
--- a/README.EXT.ja
+++ b/README.EXT.ja
@@ -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で使える関数たち