fix function prototype mismatch of rb_block_call

Nobu missed it in f0e73fc9862c8d2c57a89349fb79012b826b8245.
This commit is contained in:
卜部昌平 2019-08-27 14:11:02 +09:00
parent 6007c7c366
commit 0c8592b9af

View File

@ -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;