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 /src/kernel.c | |
| 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 'src/kernel.c')
| -rw-r--r-- | src/kernel.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/kernel.c b/src/kernel.c index 8d4f81bdd..8bb837eca 100644 --- a/src/kernel.c +++ b/src/kernel.c @@ -384,7 +384,7 @@ mrb_obj_extend(mrb_state *mrb, mrb_int argc, mrb_value *argv, mrb_value obj) mrb_int i; if (argc == 0) { - mrb_num_args_error(mrb, argc, 1, -1); + mrb_argnum_error(mrb, argc, 1, -1); } for (i = 0; i < argc; i++) { mrb_check_type(mrb, argv[i], MRB_TT_MODULE); |
