1
0
Fork 0
mirror of https://github.com/ruby/ruby.git synced 2022-11-09 12:17:21 -05:00

* thread.c (thread_list_access): prototyped.

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@24892 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
nobu 2009-09-13 05:09:15 +00:00
parent 8b0cb325f5
commit 60f545e2ac
2 changed files with 6 additions and 4 deletions

View file

@ -1,8 +1,9 @@
Sun Sep 13 13:38:00 2009 Marc-Andre Lafortune <ruby-core@marc-andre.ca>
* 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@ruby-lang.org>

View file

@ -3386,7 +3386,8 @@ static ID recursive_key;
*/
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;