summaryrefslogtreecommitdiff
path: root/hash.c
diff options
context:
space:
mode:
authornobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2013-10-08 07:11:15 +0000
committernobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2013-10-08 07:11:15 +0000
commit9c6ea2f2004081591417ab2195ca487053c3b101 (patch)
tree8b2ee1c5e8b883a4081717182b57b09b75ac407c /hash.c
parent827f4d653b056196acfec56b2a3b478019f61357 (diff)
array.c: use rb_hash_values
* array.c (rb_ary_uniq): use rb_hash_values(), as well as the case no block is given. * internal.h: define rb_hash_values() as internal API. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@43197 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'hash.c')
-rw-r--r--hash.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/hash.c b/hash.c
index d65a698fc2..83d179964f 100644
--- a/hash.c
+++ b/hash.c
@@ -1712,7 +1712,7 @@ values_i(VALUE key, VALUE value, VALUE ary)
*
*/
-static VALUE
+VALUE
rb_hash_values(VALUE hash)
{
VALUE ary;