From 9174b18f34cdee25fdf8433ee33642932b06a445 Mon Sep 17 00:00:00 2001 From: "Yukihiro \"Matz\" Matsumoto" Date: Wed, 1 Jan 2020 22:37:14 +0900 Subject: Rename `mrb_num_args_error` to `mrb_argnum_error`; ref #4863 --- mrbgems/mruby-struct/src/struct.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'mrbgems/mruby-struct/src') diff --git a/mrbgems/mruby-struct/src/struct.c b/mrbgems/mruby-struct/src/struct.c index 726b66f96..f42a5f1ea 100644 --- a/mrbgems/mruby-struct/src/struct.c +++ b/mrbgems/mruby-struct/src/struct.c @@ -274,7 +274,7 @@ mrb_struct_s_def(mrb_state *mrb, mrb_value klass) name = mrb_nil_value(); mrb_get_args(mrb, "*&", &argv, &argc, &b); if (argc == 0) { /* special case to avoid crash */ - mrb_num_args_error(mrb, argc, 1, -1); + mrb_argnum_error(mrb, argc, 1, -1); } else { pargv = argv; -- cgit v1.2.3