summaryrefslogtreecommitdiff
path: root/proc.c
diff options
context:
space:
mode:
authormame <mame@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2017-10-27 00:25:57 +0000
committermame <mame@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2017-10-27 00:25:57 +0000
commitfab73ba556b8e90b95b1fbd350ce0eeaef4269c3 (patch)
tree48cd13ccaa7bccff303921eb24bbc7aab3c103d3 /proc.c
parenta8868b3fe56384d9f57ff5803bd843b26afa1584 (diff)
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
Diffstat (limited to 'proc.c')
-rw-r--r--proc.c2
1 files changed, 2 insertions, 0 deletions
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)
{