mirror of
https://github.com/mruby/mruby
synced 2026-06-08 16:11:16 +00:00
Update mrb_get_args reference comment; ref #3963
This commit is contained in:
+1
-1
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user