diff options
author | ko1 <ko1@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2013-05-13 09:41:48 +0000 |
---|---|---|
committer | ko1 <ko1@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2013-05-13 09:41:48 +0000 |
commit | 12bf73637b960cf0ef463f966554595ff2c37ecd (patch) | |
tree | 9923c2e5b3189ee5a4ce415714779c5d393ab988 /gc.c | |
parent | c8fc37a99c7d04937c586fe6aad9b4cf421219e1 (diff) | |
download | ruby-12bf73637b960cf0ef463f966554595ff2c37ecd.tar.gz |
* include/ruby/ruby.h: add new utility macros to access
Array's element.
* RARRAY_AREF(a, i) returns i-th element of an array `a'
* RARRAY_ASET(a, i, v) set i-th element of `a' to `v'
This change is a part of RGENGC branch [ruby-trunk - Feature #8339].
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@40689 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'gc.c')
0 files changed, 0 insertions, 0 deletions