diff options
| author | Yukihiro "Matz" Matsumoto <[email protected]> | 2017-07-12 14:49:55 +0900 |
|---|---|---|
| committer | Yukihiro "Matz" Matsumoto <[email protected]> | 2017-07-12 14:49:55 +0900 |
| commit | a18904a4c2e661b58fb76df7afa2a0eee4f30e70 (patch) | |
| tree | dcc885f076ae9f0a73440ef86112d0ca192f4fcb /mrbgems/mruby-struct | |
| parent | e9b57124a07a2f7f8ecee29372e932774d0520ad (diff) | |
| download | mruby-a18904a4c2e661b58fb76df7afa2a0eee4f30e70.tar.gz mruby-a18904a4c2e661b58fb76df7afa2a0eee4f30e70.zip | |
Use "$!" specifier of `mrb_get_args`.
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 1d4fdca92..deab69fd9 100644 --- a/mrbgems/mruby-struct/src/struct.c +++ b/mrbgems/mruby-struct/src/struct.c @@ -345,7 +345,7 @@ mrb_struct_initialize(mrb_state *mrb, mrb_value self) mrb_value *argv; mrb_int argc; - mrb_get_args(mrb, "*", &argv, &argc); + mrb_get_args(mrb, "*!", &argv, &argc); return mrb_struct_initialize_withArg(mrb, argc, argv, self); } |
