summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
author卜部昌平 <shyouhei@ruby-lang.org>2019-08-27 05:11:02 (GMT)
committer卜部昌平 <shyouhei@ruby-lang.org>2019-08-27 06:52:26 (GMT)
commit0c8592b9af304dfcac0d08ba96d5f22ad8312e1a (patch)
tree990da410e0cf4fa6dffa9cf156f0d290107834d5
parent6007c7c3663fd1b92020cf60e806cc9634947d5d (diff)
fix function prototype mismatch of rb_block_call
Nobu missed it in f0e73fc9862c8d2c57a89349fb79012b826b8245.
-rw-r--r--vm_eval.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/vm_eval.c b/vm_eval.c
index a0f8e55..b449cd4 100644
--- a/vm_eval.c
+++ b/vm_eval.c
@@ -1218,7 +1218,7 @@ iterate_method(VALUE obj)
VALUE
rb_block_call(VALUE obj, ID mid, int argc, const VALUE * argv,
- VALUE (*bl_proc) (ANYARGS), VALUE data2)
+ rb_block_call_func_t bl_proc, VALUE data2)
{
struct iter_method_arg arg;
@@ -1257,7 +1257,7 @@ iterate_check_method(VALUE obj)
VALUE
rb_check_block_call(VALUE obj, ID mid, int argc, const VALUE *argv,
- VALUE (*bl_proc) (ANYARGS), VALUE data2)
+ rb_block_call_func_t bl_proc, VALUE data2)
{
struct iter_method_arg arg;