aboutsummaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authornaruse <naruse@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2018-05-22 07:31:36 +0000
committernaruse <naruse@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2018-05-22 07:31:36 +0000
commitb60487e1283c61a67670d93286b2ca82e6ffd34f (patch)
tree22a097222dcd126f597cc6c394b74fbd34af81f3 /include
parent17acbfbaa5d9601686f6a49433c04b0eb6c3b11b (diff)
downloadruby-b60487e1283c61a67670d93286b2ca82e6ffd34f.tar.gz
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
Diffstat (limited to 'include')
-rw-r--r--include/ruby/st.h2
1 files changed, 2 insertions, 0 deletions
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)