From b1890fa136ee7002b82e174de78d4fb6a2661467 Mon Sep 17 00:00:00 2001 From: ko1 Date: Sat, 28 Oct 2017 11:41:08 +0000 Subject: `th` -> `ec` for rb_longjmp() and related functions. * eval.c: `th` -> `ec` for the following functions: * rb_longjmp * exc_setup_message * setup_exception * errinfo_place * eval.c (get_thread_errinfo): rename to get_ec_errinfo() and accepts `ec`. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@60517 b2dd03c8-39d4-4d8f-98ff-823fe69b080e --- eval_intern.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'eval_intern.h') diff --git a/eval_intern.h b/eval_intern.h index 1569bfc01a..ef82c0fe2d 100644 --- a/eval_intern.h +++ b/eval_intern.h @@ -183,9 +183,9 @@ rb_threadptr_tag_state(const rb_execution_context_t *ec) return state; } -NORETURN(static inline void rb_ec_tag_jump(rb_execution_context_t *ec, enum ruby_tag_type st)); +NORETURN(static inline void rb_ec_tag_jump(const rb_execution_context_t *ec, enum ruby_tag_type st)); static inline void -rb_ec_tag_jump(rb_execution_context_t *ec, enum ruby_tag_type st) +rb_ec_tag_jump(const rb_execution_context_t *ec, enum ruby_tag_type st) { ec->tag->state = st; ruby_longjmp(ec->tag->buf, 1); -- cgit v1.2.3