diff options
| author | Yukihiro "Matz" Matsumoto <[email protected]> | 2020-01-01 22:37:14 +0900 |
|---|---|---|
| committer | Yukihiro "Matz" Matsumoto <[email protected]> | 2020-01-01 22:37:14 +0900 |
| commit | 9174b18f34cdee25fdf8433ee33642932b06a445 (patch) | |
| tree | a477a4a274b51302331c22a3d8ba538587203363 /mrbgems/mruby-struct | |
| parent | b9c78c3fccf0917a8f4b05e02b79d80eeb83982d (diff) | |
| download | mruby-9174b18f34cdee25fdf8433ee33642932b06a445.tar.gz mruby-9174b18f34cdee25fdf8433ee33642932b06a445.zip | |
Rename `mrb_num_args_error` to `mrb_argnum_error`; ref #4863
Diffstat (limited to 'mrbgems/mruby-struct')
| -rw-r--r-- | mrbgems/mruby-struct/src/struct.c | 2 |
1 files changed, 1 insertions, 1 deletions
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; |
