[前][次][番号順一覧][スレッド一覧]

ruby-changes:43127

From: nobu <ko1@a...>
Date: Sun, 29 May 2016 19:18:25 +0900 (JST)
Subject: [ruby-changes:43127] nobu:r55201 (trunk): vm_core.h: rb_exc_set_backtrace declaration

nobu	2016-05-29 19:18:20 +0900 (Sun, 29 May 2016)

  New Revision: 55201

  https://svn.ruby-lang.org/cgi-bin/viewvc.cgi?view=revision&revision=55201

  Log:
    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.

  Modified files:
    trunk/eval_error.c
    trunk/vm_args.c
    trunk/vm_core.h
Index: vm_core.h
===================================================================
--- vm_core.h	(revision 55200)
+++ vm_core.h	(revision 55201)
@@ -1137,6 +1137,7 @@ enum { https://github.com/ruby/ruby/blob/trunk/vm_core.h#L1137
 #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);
Index: eval_error.c
===================================================================
--- eval_error.c	(revision 55200)
+++ eval_error.c	(revision 55201)
@@ -66,8 +66,6 @@ rb_get_backtrace(VALUE info) https://github.com/ruby/ruby/blob/trunk/eval_error.c#L66
     return get_backtrace(info);
 }
 
-VALUE rb_exc_set_backtrace(VALUE exc, VALUE bt);
-
 static void
 set_backtrace(VALUE info, VALUE bt)
 {
Index: vm_args.c
===================================================================
--- vm_args.c	(revision 55200)
+++ vm_args.c	(revision 55201)
@@ -691,8 +691,6 @@ setup_parameters_complex(rb_thread_t * c https://github.com/ruby/ruby/blob/trunk/vm_args.c#L691
     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)
 {

--
ML: ruby-changes@q...
Info: http://www.atdot.net/~ko1/quickml/

[前][次][番号順一覧][スレッド一覧]