From fab73ba556b8e90b95b1fbd350ce0eeaef4269c3 Mon Sep 17 00:00:00 2001 From: mame Date: Fri, 27 Oct 2017 00:25:57 +0000 Subject: [PATCH] Restore the prototype declaration of rb_vm_bh_to_procval Fixes r60460 git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@60461 b2dd03c8-39d4-4d8f-98ff-823fe69b080e --- proc.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/proc.c b/proc.c index 83691a49ec..c78274526b 100644 --- a/proc.c +++ b/proc.c @@ -384,6 +384,8 @@ bind_eval(int argc, VALUE *argv, VALUE bindval) 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) {