diff options
| author | KOBAYASHI Shuji <[email protected]> | 2019-06-23 20:01:33 +0900 |
|---|---|---|
| committer | KOBAYASHI Shuji <[email protected]> | 2019-06-23 20:01:33 +0900 |
| commit | 1fd08aee15942c3b3e3133f8cc92d4025df024a8 (patch) | |
| tree | 014298125ac41f67ffd136b6e1b1d0503ec84a0f /mrbgems/mruby-array-ext | |
| parent | cb3ee2d0501612f406e2d44b1e6d55b18861b1e1 (diff) | |
| download | mruby-1fd08aee15942c3b3e3133f8cc92d4025df024a8.tar.gz mruby-1fd08aee15942c3b3e3133f8cc92d4025df024a8.zip | |
Fix argument specs to `Array`
Diffstat (limited to 'mrbgems/mruby-array-ext')
| -rw-r--r-- | mrbgems/mruby-array-ext/src/array.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/mrbgems/mruby-array-ext/src/array.c b/mrbgems/mruby-array-ext/src/array.c index 20c771a97..cb4798d49 100644 --- a/mrbgems/mruby-array-ext/src/array.c +++ b/mrbgems/mruby-array-ext/src/array.c @@ -194,7 +194,7 @@ mrb_mruby_array_ext_gem_init(mrb_state* mrb) mrb_define_method(mrb, a, "at", mrb_ary_at, MRB_ARGS_REQ(1)); mrb_define_method(mrb, a, "rassoc", mrb_ary_rassoc, MRB_ARGS_REQ(1)); mrb_define_method(mrb, a, "values_at", mrb_ary_values_at, MRB_ARGS_ANY()); - mrb_define_method(mrb, a, "slice!", mrb_ary_slice_bang, MRB_ARGS_ANY()); + mrb_define_method(mrb, a, "slice!", mrb_ary_slice_bang, MRB_ARGS_ARG(1,1)); } void |
