summaryrefslogtreecommitdiff
path: root/gc.c
diff options
context:
space:
mode:
author卜部昌平 <shyouhei@ruby-lang.org>2019-08-26 15:35:28 +0900
committer卜部昌平 <shyouhei@ruby-lang.org>2019-08-27 15:52:26 +0900
commitbc3e7924bc66d3ef77b219c72f3e59cc154550a3 (patch)
tree44aed5a94d9d16dee2af0f92ed4653d6e2deb198 /gc.c
parentaf5e2566405e4808a6d0a29c5b7d305d6fc0aada (diff)
rb_proc_new / rb_fiber_new now free from ANYARGS
After 5e86b005c0f2ef30df2f9906c7e2f3abefe286a2, 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.
Diffstat (limited to 'gc.c')
-rw-r--r--gc.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gc.c b/gc.c
index 654a6c85e3..42559eb377 100644
--- a/gc.c
+++ b/gc.c
@@ -8867,7 +8867,7 @@ compat_key(VALUE key)
}
static VALUE
-default_proc_for_compat_func(VALUE hash, VALUE dmy, int argc, VALUE *argv)
+default_proc_for_compat_func(RB_BLOCK_CALL_FUNC_ARGLIST(hash, _))
{
VALUE key, new_key;