diff options
| author | Yukihiro "Matz" Matsumoto <[email protected]> | 2017-07-12 14:49:06 +0900 |
|---|---|---|
| committer | Yukihiro "Matz" Matsumoto <[email protected]> | 2017-07-12 14:49:06 +0900 |
| commit | e9b57124a07a2f7f8ecee29372e932774d0520ad (patch) | |
| tree | fe9893ae4a96b1dadb55e6f52e51fa2e18b52001 /src/class.c | |
| parent | adf453a584a67d788ca2a1ea30444fda9bb595a8 (diff) | |
| download | mruby-e9b57124a07a2f7f8ecee29372e932774d0520ad.tar.gz mruby-e9b57124a07a2f7f8ecee29372e932774d0520ad.zip | |
Update `mrb_get_args()` document.
Diffstat (limited to 'src/class.c')
| -rw-r--r-- | src/class.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/class.c b/src/class.c index 9b8c3ce34..e4e177f04 100644 --- a/src/class.c +++ b/src/class.c @@ -552,9 +552,9 @@ to_sym(mrb_state *mrb, mrb_value ss) 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] - *: rest argument [mrb_value*,mrb_int] Receive the rest of the arguments as an array. - |: optional Next argument of '|' and later are optional. - ?: optional given [mrb_bool] true if preceding argument (optional) is 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 */ MRB_API mrb_int mrb_get_args(mrb_state *mrb, const char *format, ...) |
