diff options
author | ko1 <ko1@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2017-10-28 11:41:08 +0000 |
---|---|---|
committer | ko1 <ko1@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2017-10-28 11:41:08 +0000 |
commit | b1890fa136ee7002b82e174de78d4fb6a2661467 (patch) | |
tree | bd940fa0bbfcb5b81bdd943ae9792a15617ee0fa /eval_intern.h | |
parent | 0c6e5c7880b048deb7174275418602881f637ccd (diff) |
`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
Diffstat (limited to 'eval_intern.h')
-rw-r--r-- | eval_intern.h | 4 |
1 files changed, 2 insertions, 2 deletions
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); |