diff options
author | ko1 <ko1@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2018-10-28 05:09:58 +0000 |
---|---|---|
committer | ko1 <ko1@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2018-10-28 05:09:58 +0000 |
commit | 2d46695c7ca7d35b5ab79a2ec92ca985673a57e2 (patch) | |
tree | 048da7d3ec82a2cdb831174783da3d297ef89093 /compile.c | |
parent | ef929bc67b5c46c85ae9451145420a4b408c90cf (diff) |
use a rb_ function instead of st_ directly.
* compile.c (ibf_dump_object_hash): use `rb_hash_foreach()`
instead of using `st_foreach()`.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@65411 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'compile.c')
-rw-r--r-- | compile.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -9422,7 +9422,7 @@ ibf_dump_object_hash(struct ibf_dump *dump, VALUE obj) { long len = RHASH_SIZE(obj); (void)IBF_W(&len, long, 1); - if (len > 0) st_foreach(RHASH(obj)->ntbl, ibf_dump_object_hash_i, (st_data_t)dump); + if (len > 0) rb_hash_foreach(obj, ibf_dump_object_hash_i, (st_data_t)dump); } static VALUE |