mirror of
https://github.com/ruby/ruby.git
synced 2025-09-15 08:33:58 +02:00
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:
parent
af5e256640
commit
bc3e7924bc
5 changed files with 13 additions and 13 deletions
|
@ -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;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue