ruby-changes:20449
From: ko1 <ko1@a...>
Date: Sun, 10 Jul 2011 21:52:16 +0900 (JST)
Subject: [ruby-changes:20449] ko1:r32497 (trunk): * internal.h: add comments (cautions).
ko1 2011-07-10 21:52:03 +0900 (Sun, 10 Jul 2011) New Revision: 32497 http://svn.ruby-lang.org/cgi-bin/viewvc.cgi?view=rev&revision=32497 Log: * internal.h: add comments (cautions). Modified files: trunk/ChangeLog trunk/internal.h Index: ChangeLog =================================================================== --- ChangeLog (revision 32496) +++ ChangeLog (revision 32497) @@ -1,3 +1,7 @@ +Sun Jul 10 21:51:29 2011 Koichi Sasada <ko1@a...> + + * internal.h: add comments (cautions). + Sun Jul 10 20:59:38 2011 Shota Fukumori <sorah@t...> * lib/test/unit.rb: Add new class variable `@@testfile_prefix`. Index: internal.h =================================================================== --- internal.h (revision 32496) +++ internal.h (revision 32497) @@ -200,9 +200,14 @@ #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, -- ML: ruby-changes@q... Info: http://www.atdot.net/~ko1/quickml/