diff options
author | ko1 <ko1@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2018-12-03 03:51:55 +0000 |
---|---|---|
committer | ko1 <ko1@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2018-12-03 03:51:55 +0000 |
commit | 1e9896ae314d23ce813d86796ed3f29669c9db9b (patch) | |
tree | cda84e5eecda665caf914bc5c54de6431ea30faa /vm_method.c | |
parent | b65a43ca2f173466e216d6ce268e68ebaff174b0 (diff) | |
download | ruby-1e9896ae314d23ce813d86796ed3f29669c9db9b.tar.gz |
use RARRAY_AREF instead of RARRAY_PTR_USE.
* enumerator.c (enum_chain_total_size): use RARRAY_AREF
instead of RARRAY_PTR_USE because we don't need non-const
ptr.
* enumerator.c (enum_chain_each): ditto.
* enumerator.c (enum_chain_rewind): ditto.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@66148 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'vm_method.c')
0 files changed, 0 insertions, 0 deletions