From 703783324c16b8b2b50210d1a7d1119902abbb8b Mon Sep 17 00:00:00 2001 From: 卜部昌平 Date: Mon, 26 Aug 2019 15:20:15 +0900 Subject: rb_ensure now free from ANYARGS After 5e86b005c0f2ef30df2f9906c7e2f3abefe286a2, I now think ANYARGS is dangerous and should be extinct. This commit deletes ANYARGS from rb_ensure, which also revealed many arity / type mismatches. --- vm_core.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'vm_core.h') diff --git a/vm_core.h b/vm_core.h index 987d1b15c5..74700f37f0 100644 --- a/vm_core.h +++ b/vm_core.h @@ -839,7 +839,7 @@ typedef struct rb_thread_list_struct{ typedef struct rb_ensure_entry { VALUE marker; - VALUE (*e_proc)(ANYARGS); + VALUE (*e_proc)(VALUE); VALUE data2; } rb_ensure_entry_t; -- cgit v1.2.3