Commit 44a834f3 authored by Yukihiro "Matz" Matsumoto's avatar Yukihiro "Matz" Matsumoto

Merge pull request #2402 from katmutua/master

[minor-fix]Update value pointer comments
parents 3dce1fb3 17e3203c
...@@ -124,10 +124,10 @@ iv_put(mrb_state *mrb, iv_tbl *t, mrb_sym sym, mrb_value val) ...@@ -124,10 +124,10 @@ iv_put(mrb_state *mrb, iv_tbl *t, mrb_sym sym, mrb_value val)
* mrb * mrb
* t the variable table to be searched. * t the variable table to be searched.
* sym the symbol to be used as the key. * sym the symbol to be used as the key.
* vp the value pointer. Recieves the value if the specified symbol contains * vp the value pointer. Receives the value if the specified symbol is
* in the instance variable table. * contained in the instance variable table.
* Returns * 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 static mrb_bool
iv_get(mrb_state *mrb, iv_tbl *t, mrb_sym sym, mrb_value *vp) 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) ...@@ -159,10 +159,10 @@ iv_get(mrb_state *mrb, iv_tbl *t, mrb_sym sym, mrb_value *vp)
* Parameters * Parameters
* t the variable table to be searched. * t the variable table to be searched.
* sym the symbol to be used as the key. * sym the symbol to be used as the key.
* vp the value pointer. Recieve the deleted value if the symbol contans * vp the value pointer. Receive the deleted value if the symbol is
* in the instance varible table. * contained in the instance variable table.
* Returns * 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 static mrb_bool
iv_del(mrb_state *mrb, iv_tbl *t, mrb_sym sym, mrb_value *vp) iv_del(mrb_state *mrb, iv_tbl *t, mrb_sym sym, mrb_value *vp)
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment