mrb_get_args: improve function description about !

This commit is contained in:
Yukihiro "Matz" Matsumoto
2015-07-14 13:35:06 +09:00
parent 4e7050fe0c
commit 53a81da0fa
+3 -3
View File
@@ -438,9 +438,9 @@ to_sym(mrb_state *mrb, mrb_value ss)
S: String [mrb_value] when ! follows, the value may be nil
A: Array [mrb_value] when ! follows, the value may be nil
H: Hash [mrb_value] when ! follows, the value may be nil
s: String [char*,mrb_int] Receive two arguments.
z: String [char*] NUL terminated string.
a: Array [mrb_value*,mrb_int] Receive two arguments.
s: String [char*,mrb_int] Receive two arguments; s! gives (NULL,0) for nil
z: String [char*] NUL terminated string; z! gives NULL for nil
a: Array [mrb_value*,mrb_int] Receive two arguments; a! gives (NULL,0) for nil
f: Float [mrb_float]
i: Integer [mrb_int]
b: Boolean [mrb_bool]