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

ruby-changes:48348

From: ko1 <ko1@a...>
Date: Fri, 27 Oct 2017 09:32:06 +0900 (JST)
Subject: [ruby-changes:48348] ko1:r60462 (trunk): move decl.

ko1	2017-10-27 09:31:59 +0900 (Fri, 27 Oct 2017)

  New Revision: 60462

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

  Log:
    move decl.
    
    * proc.c: move declaration of rb_vm_bh_to_procval() to vm_core.h.

  Modified files:
    trunk/proc.c
    trunk/vm_core.h
Index: proc.c
===================================================================
--- proc.c	(revision 60461)
+++ proc.c	(revision 60462)
@@ -384,8 +384,6 @@ bind_eval(int argc, VALUE *argv, VALUE b https://github.com/ruby/ruby/blob/trunk/proc.c#L384
     return rb_f_eval(argc+1, args, Qnil /* self will be searched in eval */);
 }
 
-VALUE rb_vm_bh_to_procval(rb_execution_context_t *ec, VALUE block_handler);
-
 static const VALUE *
 get_local_variable_ptr(const rb_env_t **envp, ID lid)
 {
Index: vm_core.h
===================================================================
--- vm_core.h	(revision 60461)
+++ vm_core.h	(revision 60462)
@@ -1547,6 +1547,7 @@ void rb_vm_stack_to_heap(rb_thread_t *th https://github.com/ruby/ruby/blob/trunk/vm_core.h#L1547
 void ruby_thread_init_stack(rb_thread_t *th);
 int rb_vm_control_frame_id_and_class(const rb_control_frame_t *cfp, ID *idp, ID *called_idp, VALUE *klassp);
 void rb_vm_rewind_cfp(rb_thread_t *th, rb_control_frame_t *cfp);
+VALUE rb_vm_bh_to_procval(rb_execution_context_t *ec, VALUE block_handler);
 
 void rb_vm_register_special_exception_str(enum ruby_special_exceptions sp, VALUE exception_class, VALUE mesg);
 

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

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