diff options
author | 卜部昌平 <shyouhei@ruby-lang.org> | 2019-08-26 14:42:08 +0900 |
---|---|---|
committer | 卜部昌平 <shyouhei@ruby-lang.org> | 2019-08-27 15:52:26 +0900 |
commit | 3cae73133cfec7d5ec3f8058ec647d5163578003 (patch) | |
tree | 8ec4433a4b4bf1063424dc7e4be76afbc79255c0 /vm_eval.c | |
parent | b8fd2e83e7b18fe3c70fc342388b1cb054b22e42 (diff) |
rb_iterate now takes rb_block_call_func_t
After 5e86b005c0f2ef30df2f9906c7e2f3abefe286a2, I now think ANYARGS is
dangerous and should be extinct. This commit makes rb_iterate free
from ANYARGS.
Diffstat (limited to 'vm_eval.c')
-rw-r--r-- | vm_eval.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -1193,7 +1193,7 @@ rb_iterate0(VALUE (* it_proc) (VALUE), VALUE data1, VALUE rb_iterate(VALUE (* it_proc)(VALUE), VALUE data1, - VALUE (* bl_proc)(ANYARGS), VALUE data2) + rb_block_call_func_t bl_proc, VALUE data2) { return rb_iterate0(it_proc, data1, bl_proc ? rb_vm_ifunc_proc_new(bl_proc, (void *)data2) : 0, |