Update mrb_get_args reference comment; ref #3963

This commit is contained in:
Yukihiro "Matz" Matsumoto
2018-03-12 22:17:17 +09:00
parent 6c84e6e4a5
commit ec390e8f1b
2 changed files with 5 additions and 5 deletions
+1 -1
View File
@@ -593,7 +593,7 @@ mrb_get_argv(mrb_state *mrb)
n: Symbol [mrb_sym]
d: Data [void*,mrb_data_type const] 2nd argument will be used to check data type so it won't be modified
I: Inline struct [void*]
&: Block [mrb_value] when &! gives raised exception if no block given
&: Block [mrb_value] &! raises exception if no block given
*: rest argument [mrb_value*,mrb_int] The rest of the arguments as an array; *! avoid copy of the stack
|: optional Following arguments are optional
?: optional given [mrb_bool] true if preceding argument (optional) is given