From e9b57124a07a2f7f8ecee29372e932774d0520ad Mon Sep 17 00:00:00 2001 From: "Yukihiro \"Matz\" Matsumoto" Date: Wed, 12 Jul 2017 14:49:06 +0900 Subject: Update `mrb_get_args()` document. --- src/class.c | 6 +++--- 1 file 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, ...) -- cgit v1.2.3