diff options
| author | Yukihiro "Matz" Matsumoto <[email protected]> | 2015-07-14 13:35:06 +0900 |
|---|---|---|
| committer | Yukihiro "Matz" Matsumoto <[email protected]> | 2015-07-14 13:35:06 +0900 |
| commit | 53a81da0fafc2adbc791d9f161207faa29bccb4e (patch) | |
| tree | 19c40c70b6a0eda131469a31fe602687b72457b7 | |
| parent | 4e7050fe0c56a9403f182d3f79a22a4196d377f0 (diff) | |
| download | mruby-53a81da0fafc2adbc791d9f161207faa29bccb4e.tar.gz mruby-53a81da0fafc2adbc791d9f161207faa29bccb4e.zip | |
mrb_get_args: improve function description about !
| -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 b306cb489..1d54c91f4 100644 --- a/src/class.c +++ b/src/class.c @@ -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] |
