summaryrefslogtreecommitdiff
path: root/hash.c
diff options
context:
space:
mode:
authorglass <glass@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2013-11-28 08:15:26 +0000
committerglass <glass@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2013-11-28 08:15:26 +0000
commit78cfcbc6577dda03fb4786743e63c7995c1b910b (patch)
tree4d88af75465582403e26d60330c18ad2a10b2a4f /hash.c
parentd7009f76ef8a7b96e73471561cf9c4863902e438 (diff)
downloadruby-78cfcbc6577dda03fb4786743e63c7995c1b910b.tar.gz
* st.c (st_keys): fix not to use Qundef in st.c.
* include/ruby/st.h: define modified prototype. * hash.c (rb_hash_keys): use modified st_keys(). git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@43894 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 f09b19af51..b03c13dc13 100644
--- a/hash.c
+++ b/hash.c
@@ -1713,7 +1713,7 @@ rb_hash_keys(VALUE hash)
if (OBJ_PROMOTED(keys)) rb_gc_writebarrier_remember_promoted(keys);
RARRAY_PTR_USE(keys, ptr, {
- size = st_keys(table, ptr, size);
+ size = st_keys_check(table, ptr, size, Qundef);
});
rb_ary_set_len(keys, size);
}