summaryrefslogtreecommitdiffhomepage
path: root/src/class.c
diff options
context:
space:
mode:
authorYukihiro "Matz" Matsumoto <[email protected]>2018-03-12 22:17:17 +0900
committerYukihiro "Matz" Matsumoto <[email protected]>2018-03-16 08:18:52 +0900
commitec390e8f1ba37f50d2fec46899739edc591fd34c (patch)
tree102fd7744c30858c44ae7f349a6f426a8143876d /src/class.c
parent6c84e6e4a55b6f3c41cc0d2d2d75e83d33c59d1e (diff)
downloadmruby-ec390e8f1ba37f50d2fec46899739edc591fd34c.tar.gz
mruby-ec390e8f1ba37f50d2fec46899739edc591fd34c.zip
Update `mrb_get_args` reference comment; ref #3963
Diffstat (limited to 'src/class.c')
-rw-r--r--src/class.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/class.c b/src/class.c
index b01bbc4e8..c761f46af 100644
--- a/src/class.c
+++ b/src/class.c
@@ -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