diff options
author | shirosaki <shirosaki@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2012-11-25 13:39:26 +0000 |
---|---|---|
committer | shirosaki <shirosaki@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2012-11-25 13:39:26 +0000 |
commit | 56132b13465c2c766fc15b8c04a7fb116315cd45 (patch) | |
tree | 97315efbe9604955a2a47c9ef53316c2a4854228 /math.c | |
parent | 0012b0abd775c2b9f2f79e21e8668528b0af6091 (diff) | |
download | ruby-56132b13465c2c766fc15b8c04a7fb116315cd45.tar.gz |
array.c: refactoring of rb_ary_delete_same()
* array.c (ary_resize_smaller): new function to resize array.
* array.c (rb_ary_delete): refactoring to extract a function.
* array.c (rb_ary_delete_same): refactoring.
It renames function, reduces duplicated code and removes unused
code.
* gc.c (wmap_final_func): follow the above change.
* internal.h (rb_ary_delete_same): ditto.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@37843 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'math.c')
0 files changed, 0 insertions, 0 deletions