diff options
-rw-r--r-- | ChangeLog | 4 | ||||
-rw-r--r-- | internal.h | 7 |
2 files changed, 10 insertions, 1 deletions
@@ -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, |