From bcdf08dd835bef4bda8f280fd6ac188a54e4e6c5 Mon Sep 17 00:00:00 2001 From: naruse Date: Tue, 22 May 2018 07:31:36 +0000 Subject: export rb_hash_bulk_insert msgpack-ruby requests this function public because they want to create a hash with bulk key value pairs. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@63488 b2dd03c8-39d4-4d8f-98ff-823fe69b080e --- include/ruby/st.h | 2 ++ 1 file changed, 2 insertions(+) (limited to 'include/ruby/st.h') diff --git a/include/ruby/st.h b/include/ruby/st.h index 47e14a3e2c..ede3ff4456 100644 --- a/include/ruby/st.h +++ b/include/ruby/st.h @@ -143,6 +143,8 @@ CONSTFUNC(st_index_t st_hash_end(st_index_t h)); CONSTFUNC(st_index_t st_hash_start(st_index_t h)); #define st_hash_start(h) ((st_index_t)(h)) +void rb_hash_bulk_insert(long, const VALUE *, VALUE); + RUBY_SYMBOL_EXPORT_END #if defined(__cplusplus) -- cgit v1.2.3