rb_proc_new / rb_fiber_new now free from ANYARGS

After 5e86b005c0, I now think ANYARGS is
dangerous and should be extinct.  This commit deletes ANYARGS from
rb_proc_new / rb_fiber_new, and applies RB_BLOCK_CALL_FUNC_ARGLIST
wherever necessary.
This commit is contained in:
卜部昌平 2019-08-26 15:35:28 +09:00
parent af5e256640
commit bc3e7924bc
5 changed files with 13 additions and 13 deletions

View file

@ -713,7 +713,7 @@ next_ii(RB_BLOCK_CALL_FUNC_ARGLIST(i, obj))
}
static VALUE
next_i(VALUE curr, VALUE obj)
next_i(RB_BLOCK_CALL_FUNC_ARGLIST(_, obj))
{
struct enumerator *e = enumerator_ptr(obj);
VALUE nil = Qnil;