summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorko1 <ko1@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2011-07-10 12:52:03 +0000
committerko1 <ko1@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2011-07-10 12:52:03 +0000
commitce698d4c0d4eb9c48650466b7f1566c869eb2e01 (patch)
tree1e4fedec7069e45eb5d7b3be3420fb0bf71557f0
parent7506a580fefcf89365d0480abfe47c6894117c0c (diff)
* internal.h: add comments (cautions).
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@32497 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-rw-r--r--ChangeLog4
-rw-r--r--internal.h7
2 files changed, 10 insertions, 1 deletions
diff --git a/ChangeLog b/ChangeLog
index 63ec0ddf8f..051be9bc4e 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,7 @@
+Sun Jul 10 21:51:29 2011 Koichi Sasada <ko1@atdot.net>
+
+ * internal.h: add comments (cautions).
+
Sun Jul 10 20:59:38 2011 Shota Fukumori <sorah@tubusu.net>
* lib/test/unit.rb: Add new class variable `@@testfile_prefix`.
diff --git a/internal.h b/internal.h
index a6c633ba3f..172e7f45ad 100644
--- a/internal.h
+++ b/internal.h
@@ -200,9 +200,14 @@ void Init_prelude(void);
#endif
const char *rb_objspace_data_type_name(VALUE obj);
-/* experimental. these APIs can be changed. */
+/* Temporary. This API will be removed (renamed). */
VALUE rb_thread_io_blocking_region(rb_blocking_function_t *func, void *data1, int fd);
+/* experimental.
+ * These APIs can be changed on Ruby 1.9.4 or later.
+ * We will change these APIs (spac, name and so on) if there are something wrong.
+ * If you use these APIs, catch up future changes.
+ */
void *rb_thread_call_with_gvl(void *(*func)(void *), void *data1);
VALUE rb_thread_call_without_gvl(
rb_blocking_function_t *func, void *data1,