diff options
author | naruse <naruse@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2018-05-22 07:31:36 +0000 |
---|---|---|
committer | naruse <naruse@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2018-05-22 07:31:36 +0000 |
commit | bcdf08dd835bef4bda8f280fd6ac188a54e4e6c5 (patch) | |
tree | 22a097222dcd126f597cc6c394b74fbd34af81f3 /include | |
parent | 2fd1525b0f17b986882140a7a337008befd31983 (diff) |
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.h | 2 |
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) |