diff options
author | nobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2016-05-29 10:18:20 +0000 |
---|---|---|
committer | nobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2016-05-29 10:18:20 +0000 |
commit | 3733b0ac9685e6b97ff51041d30fd171d1e1542a (patch) | |
tree | 5dfaa63172611068cf42bd51179714d5ba604a96 | |
parent | 5a89734b70354406707845f7ea8b0833f1d03dd9 (diff) | |
download | ruby-3733b0ac9685e6b97ff51041d30fd171d1e1542a.tar.gz |
vm_core.h: rb_exc_set_backtrace declaration
* vm_core.h (rb_exc_set_backtrace): move declaration from
eval_error.c and vm_args.c.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@55201 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-rw-r--r-- | eval_error.c | 2 | ||||
-rw-r--r-- | vm_args.c | 2 | ||||
-rw-r--r-- | vm_core.h | 1 |
3 files changed, 1 insertions, 4 deletions
diff --git a/eval_error.c b/eval_error.c index 6b996fa073..b1c17b63e2 100644 --- a/eval_error.c +++ b/eval_error.c @@ -66,8 +66,6 @@ rb_get_backtrace(VALUE info) return get_backtrace(info); } -VALUE rb_exc_set_backtrace(VALUE exc, VALUE bt); - static void set_backtrace(VALUE info, VALUE bt) { @@ -691,8 +691,6 @@ setup_parameters_complex(rb_thread_t * const th, const rb_iseq_t * const iseq, return opt_pc; } -VALUE rb_exc_set_backtrace(VALUE exc, VALUE bt); - static void raise_argument_error(rb_thread_t *th, const rb_iseq_t *iseq, const VALUE exc) { @@ -1137,6 +1137,7 @@ enum { #define RUBY_VM_INTERRUPTED(th) ((th)->interrupt_flag & ~(th)->interrupt_mask & (PENDING_INTERRUPT_MASK|TRAP_INTERRUPT_MASK)) #define RUBY_VM_INTERRUPTED_ANY(th) ((th)->interrupt_flag & ~(th)->interrupt_mask) +VALUE rb_exc_set_backtrace(VALUE exc, VALUE bt); int rb_signal_buff_size(void); void rb_signal_exec(rb_thread_t *th, int sig); void rb_threadptr_check_signal(rb_thread_t *mth); |