diff options
| author | Yukihiro "Matz" Matsumoto <[email protected]> | 2014-06-17 11:28:14 +0900 |
|---|---|---|
| committer | Yukihiro "Matz" Matsumoto <[email protected]> | 2014-06-17 11:28:14 +0900 |
| commit | 44a834f30b0a6872210e0b20dadc3e9eb8cea461 (patch) | |
| tree | b37a9abf2631016ee97aa9eacb82bd97deeb91cb | |
| parent | 3dce1fb3cacf9b180ddc56bd406a87793898691d (diff) | |
| parent | 17e3203cfca8541e79b94b47c8619fa87d669f4e (diff) | |
| download | mruby-44a834f30b0a6872210e0b20dadc3e9eb8cea461.tar.gz mruby-44a834f30b0a6872210e0b20dadc3e9eb8cea461.zip | |
Merge pull request #2402 from katmutua/master
[minor-fix]Update value pointer comments
| -rw-r--r-- | src/variable.c | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/src/variable.c b/src/variable.c index 5f762dd0b..74bb591cf 100644 --- a/src/variable.c +++ b/src/variable.c @@ -124,10 +124,10 @@ iv_put(mrb_state *mrb, iv_tbl *t, mrb_sym sym, mrb_value val) * mrb * t the variable table to be searched. * sym the symbol to be used as the key. - * vp the value pointer. Recieves the value if the specified symbol contains - * in the instance variable table. + * vp the value pointer. Receives the value if the specified symbol is + * contained in the instance variable table. * Returns - * true if the specfiyed symbol contains in the instance variable table. + * true if the specified symbol is contained in the instance variable table. */ static mrb_bool iv_get(mrb_state *mrb, iv_tbl *t, mrb_sym sym, mrb_value *vp) @@ -159,10 +159,10 @@ iv_get(mrb_state *mrb, iv_tbl *t, mrb_sym sym, mrb_value *vp) * Parameters * t the variable table to be searched. * sym the symbol to be used as the key. - * vp the value pointer. Recieve the deleted value if the symbol contans - * in the instance varible table. + * vp the value pointer. Receive the deleted value if the symbol is + * contained in the instance variable table. * Returns - * true if the specfied symbol contains in the instance variable table. + * true if the specified symbol is contained in the instance variable table. */ static mrb_bool iv_del(mrb_state *mrb, iv_tbl *t, mrb_sym sym, mrb_value *vp) |
