From ee189904f0e3e0263adcbcc844947f6ccddfb7ad Mon Sep 17 00:00:00 2001 From: ko1 Date: Tue, 7 Nov 2017 05:12:39 +0000 Subject: rename to rb_ec_set_raised(). * thread.c (rb_threadptr_set_raised): rename to rb_ec_set_raised and accepts `ec` git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@60683 b2dd03c8-39d4-4d8f-98ff-823fe69b080e --- eval_intern.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'eval_intern.h') diff --git a/eval_intern.h b/eval_intern.h index e9b9ba0b14..ed94921da6 100644 --- a/eval_intern.h +++ b/eval_intern.h @@ -280,11 +280,11 @@ enum { RAISED_STACKOVERFLOW = 2, RAISED_NOMEMORY = 4 }; -int rb_threadptr_set_raised(rb_thread_t *th); #define rb_thread_raised_set(th, f) ((th)->ec->raised_flag |= (f)) #define rb_thread_raised_reset(th, f) ((th)->ec->raised_flag &= ~(f)) #define rb_thread_raised_p(th, f) (((th)->ec->raised_flag & (f)) != 0) #define rb_thread_raised_clear(th) ((th)->ec->raised_flag = 0) +int rb_ec_set_raised(rb_execution_context_t *ec); int rb_ec_reset_raised(rb_execution_context_t *th); int rb_ec_stack_check(rb_execution_context_t *ec); -- cgit v1.2.1