From 79b62da9b421527917bbf9eecd657f369b8175fc Mon Sep 17 00:00:00 2001 From: ko1 Date: Mon, 8 Jun 2009 16:14:06 +0000 Subject: * thread.c: rename functions which require a parameter "rb_thread_t *", the prefix to be rb_threadptr_ instead of rb_thread_. * thread.c (rb_thread_add_event_hook(), rb_thread_remove_event_hook): change the parameter type from rb_thread_t * to VALUE. * eval.c, eval_error.c, eval_intern.h, signal.c, vm_core.h, vm_eval.c: ditto. * include/ruby/intern.h: remove decl of rb_thread_signal_raise() and rb_thread_signal_exit(). git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@23651 b2dd03c8-39d4-4d8f-98ff-823fe69b080e --- eval.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'eval.c') diff --git a/eval.c b/eval.c index 1d5345f0a4..a877c2b99c 100644 --- a/eval.c +++ b/eval.c @@ -341,7 +341,7 @@ rb_longjmp(int tag, volatile VALUE mesg) const char *file; volatile int line = 0; - if (rb_thread_set_raised(th)) { + if (rb_threadptr_set_raised(th)) { th->errinfo = exception_error; JUMP_TAG(TAG_FATAL); } @@ -391,7 +391,7 @@ rb_longjmp(int tag, volatile VALUE mesg) th->errinfo = mesg; } else if (status) { - rb_thread_reset_raised(th); + rb_threadptr_reset_raised(th); JUMP_TAG(status); } } -- cgit v1.2.3