summaryrefslogtreecommitdiff
path: root/internal.h
diff options
context:
space:
mode:
authorshirosaki <shirosaki@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2012-11-25 13:39:26 +0000
committershirosaki <shirosaki@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2012-11-25 13:39:26 +0000
commit56132b13465c2c766fc15b8c04a7fb116315cd45 (patch)
tree97315efbe9604955a2a47c9ef53316c2a4854228 /internal.h
parent0012b0abd775c2b9f2f79e21e8668528b0af6091 (diff)
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 'internal.h')
-rw-r--r--internal.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/internal.h b/internal.h
index fe52a96c73..0dd93d9860 100644
--- a/internal.h
+++ b/internal.h
@@ -48,7 +48,7 @@ struct vtm; /* defined by timev.h */
VALUE rb_ary_last(int, VALUE *, VALUE);
void rb_ary_set_len(VALUE, long);
VALUE rb_ary_cat(VALUE, const VALUE *, long);
-VALUE rb_ary_delete_same_obj(VALUE, VALUE);
+void rb_ary_delete_same(VALUE, VALUE);
/* bignum.c */
VALUE rb_big_fdiv(VALUE x, VALUE y);