diff options
author | nobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2015-08-10 01:08:02 +0000 |
---|---|---|
committer | nobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2015-08-10 01:08:02 +0000 |
commit | fe3ef0ab504cd90cacd8dd20482d9f4d3eee0e14 (patch) | |
tree | a43ac937428fd78562f2264a09d20b7e45d27e06 /internal.h | |
parent | d3f3dfb899f004e1292dc30c19a67552cef89dee (diff) | |
download | ruby-fe3ef0ab504cd90cacd8dd20482d9f4d3eee0e14.tar.gz |
objspace.c: use rb_ident_hash_new
* ext/objspace/objspace.c (reachable_objects_from_root): use
rb_ident_hash_new instead of funcall Hash#compare_by_id.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@51515 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'internal.h')
-rw-r--r-- | internal.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/internal.h b/internal.h index 06f61d85fe..45742d059d 100644 --- a/internal.h +++ b/internal.h @@ -843,7 +843,6 @@ struct st_table *rb_hash_tbl_raw(VALUE hash); VALUE rb_hash_has_key(VALUE hash, VALUE key); VALUE rb_hash_set_default_proc(VALUE hash, VALUE proc); long rb_objid_hash(st_index_t index); -VALUE rb_ident_hash_new(void); st_table *rb_init_identtable(void); st_table *rb_init_identtable_with_size(st_index_t size); @@ -1268,6 +1267,7 @@ VALUE rb_str_normalize_ospath(const char *ptr, long len); /* hash.c (export) */ VALUE rb_hash_delete_entry(VALUE hash, VALUE key); +VALUE rb_ident_hash_new(void); /* io.c (export) */ void rb_maygvl_fd_fix_cloexec(int fd); |