diff options
author | glass <glass@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2013-11-28 08:15:26 +0000 |
---|---|---|
committer | glass <glass@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2013-11-28 08:15:26 +0000 |
commit | 78cfcbc6577dda03fb4786743e63c7995c1b910b (patch) | |
tree | 4d88af75465582403e26d60330c18ad2a10b2a4f /hash.c | |
parent | d7009f76ef8a7b96e73471561cf9c4863902e438 (diff) | |
download | ruby-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.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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); } |