From d3df725f9efeb0e6c121f9a1316abaa90956f1b8 Mon Sep 17 00:00:00 2001 From: naruse Date: Sun, 21 Apr 2019 05:37:11 +0000 Subject: [PATCH] Make rb_hash_bulk_insert public git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@67677 b2dd03c8-39d4-4d8f-98ff-823fe69b080e --- include/ruby/intern.h | 1 + internal.h | 1 - 2 files changed, 1 insertion(+), 1 deletion(-) diff --git a/include/ruby/intern.h b/include/ruby/intern.h index e962380080..efe2f31eb6 100644 --- a/include/ruby/intern.h +++ b/include/ruby/intern.h @@ -547,6 +547,7 @@ VALUE rb_hash_clear(VALUE); VALUE rb_hash_delete_if(VALUE); VALUE rb_hash_delete(VALUE,VALUE); VALUE rb_hash_set_ifnone(VALUE hash, VALUE ifnone); +void rb_hash_bulk_insert(long, const VALUE *, VALUE); typedef VALUE rb_hash_update_func(VALUE newkey, VALUE oldkey, VALUE value); VALUE rb_hash_update_by(VALUE hash1, VALUE hash2, rb_hash_update_func *func); struct st_table *rb_hash_tbl(VALUE, const char *file, int line); diff --git a/internal.h b/internal.h index 17bd7f1fe9..b43ed312b0 100644 --- a/internal.h +++ b/internal.h @@ -1567,7 +1567,6 @@ VALUE rb_hash_rehash(VALUE hash); VALUE rb_hash_resurrect(VALUE hash); int rb_hash_add_new_element(VALUE hash, VALUE key, VALUE val); VALUE rb_hash_set_pair(VALUE hash, VALUE pair); -void rb_hash_bulk_insert(long, const VALUE *, VALUE); int rb_hash_stlike_lookup(VALUE hash, st_data_t key, st_data_t *pval); int rb_hash_stlike_delete(VALUE hash, st_data_t *pkey, st_data_t *pval);