diff options
author | nobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2013-10-08 07:11:15 +0000 |
---|---|---|
committer | nobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2013-10-08 07:11:15 +0000 |
commit | 9c6ea2f2004081591417ab2195ca487053c3b101 (patch) | |
tree | 8b2ee1c5e8b883a4081717182b57b09b75ac407c /internal.h | |
parent | 827f4d653b056196acfec56b2a3b478019f61357 (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 'internal.h')
-rw-r--r-- | internal.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/internal.h b/internal.h index ad710d08d8..690e26c969 100644 --- a/internal.h +++ b/internal.h @@ -436,6 +436,7 @@ void rb_gc_writebarrier_remember_promoted(VALUE obj); struct st_table *rb_hash_tbl_raw(VALUE hash); #define RHASH_TBL_RAW(h) rb_hash_tbl_raw(h) VALUE rb_hash_keys(VALUE hash); +VALUE rb_hash_values(VALUE hash); /* inits.c */ void rb_call_inits(void); |