ruby-changes:55456
From: naruse <ko1@a...>
Date: Sun, 21 Apr 2019 14:37:16 +0900 (JST)
Subject: [ruby-changes:55456] naruse:r67677 (trunk): Make rb_hash_bulk_insert public
naruse 2019-04-21 14:37:11 +0900 (Sun, 21 Apr 2019) New Revision: 67677 https://svn.ruby-lang.org/cgi-bin/viewvc.cgi?view=revision&revision=67677 Log: Make rb_hash_bulk_insert public Modified files: trunk/include/ruby/intern.h trunk/internal.h Index: include/ruby/intern.h =================================================================== --- include/ruby/intern.h (revision 67676) +++ include/ruby/intern.h (revision 67677) @@ -547,6 +547,7 @@ VALUE rb_hash_clear(VALUE); https://github.com/ruby/ruby/blob/trunk/include/ruby/intern.h#L547 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); Index: internal.h =================================================================== --- internal.h (revision 67676) +++ internal.h (revision 67677) @@ -1567,7 +1567,6 @@ VALUE rb_hash_rehash(VALUE hash); https://github.com/ruby/ruby/blob/trunk/internal.h#L1567 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); -- ML: ruby-changes@q... Info: http://www.atdot.net/~ko1/quickml/