ruby-changes:13141
From: nobu <ko1@a...>
Date: Sun, 13 Sep 2009 14:09:56 +0900 (JST)
Subject: [ruby-changes:13141] Ruby:r24892 (trunk): * thread.c (thread_list_access): prototyped.
nobu 2009-09-13 14:09:15 +0900 (Sun, 13 Sep 2009) New Revision: 24892 http://svn.ruby-lang.org/cgi-bin/viewvc.cgi?view=rev&revision=24892 Log: * thread.c (thread_list_access): prototyped. Modified files: trunk/ChangeLog trunk/thread.c Index: ChangeLog =================================================================== --- ChangeLog (revision 24891) +++ ChangeLog (revision 24892) @@ -1,8 +1,9 @@ Sun Sep 13 13:38:00 2009 Marc-Andre Lafortune <ruby-core@m...> - * thread.c (recursive_*): refactored the access to the inspect table used by - rb_exec_recursive_*. The functions recursive_push, pop and check now assume - a valid hash table as their first argument. Added documentation. + * thread.c (recursive_*): refactored the access to the inspect + table used by rb_exec_recursive_*. The functions recursive_push, + pop and check now assume a valid hash table as their first + argument. Added documentation. Sun Sep 13 12:07:49 2009 Nobuyoshi Nakada <nobu@r...> Index: thread.c =================================================================== --- thread.c (revision 24891) +++ thread.c (revision 24892) @@ -3386,7 +3386,8 @@ */ static VALUE -recursive_list_access() { +recursive_list_access(void) +{ volatile VALUE hash = rb_thread_local_aref(rb_thread_current(), recursive_key); VALUE sym = ID2SYM(rb_frame_this_func()); VALUE list; -- ML: ruby-changes@q... Info: http://www.atdot.net/~ko1/quickml/