1
0
Fork 0
mirror of https://github.com/ruby/ruby.git synced 2022-11-09 12:17:21 -05:00

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
This commit is contained in:
nobu 2016-05-29 10:18:20 +00:00
parent 0d123232e5
commit b9e392fbed
3 changed files with 1 additions and 4 deletions

View file

@ -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)
{

View file

@ -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)
{

View file

@ -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);