diff options
author | nobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2014-12-19 11:02:10 +0000 |
---|---|---|
committer | nobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2014-12-19 11:02:10 +0000 |
commit | 9da7dcc4771e371d0d1102371036594c1d7d4e09 (patch) | |
tree | 429928bfcb96452db35c745c1341f70c7149d8a8 /compile.c | |
parent | 0618ea7590eac584b6cb16fed1d36133b6e8986c (diff) | |
download | ruby-9da7dcc4771e371d0d1102371036594c1d7d4e09.tar.gz |
compile.c: add comments
* compile.c (rb_method_for_self_aref, rb_method_for_self_aset):
add comments about inputs and outputs of func.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@48893 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'compile.c')
-rw-r--r-- | compile.c | 6 |
1 files changed, 6 insertions, 0 deletions
@@ -6309,12 +6309,18 @@ for_self_aset(rb_iseq_t *iseq, LINK_ANCHOR *ret, VALUE a) return Qnil; } +/* + * func (index) -> (value) + */ VALUE rb_method_for_self_aref(VALUE name, VALUE arg, rb_insn_func_t func) { return method_for_self(name, arg, func, for_self_aref); } +/* + * func (index, value) -> (index, value) + */ VALUE rb_method_for_self_aset(VALUE name, VALUE arg, rb_insn_func_t func) { |