mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
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
This commit is contained in:
parent
2fd1525b0f
commit
bcdf08dd83
2 changed files with 2 additions and 3 deletions
|
@ -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)
|
||||
|
|
|
@ -1736,9 +1736,6 @@ int rb_match_nth_defined(int nth, VALUE match);
|
|||
extern int ruby_enable_coredump;
|
||||
int rb_get_next_signal(void);
|
||||
|
||||
/* st.c */
|
||||
extern void rb_hash_bulk_insert(long, const VALUE *, VALUE);
|
||||
|
||||
/* strftime.c */
|
||||
#ifdef RUBY_ENCODING_H
|
||||
VALUE rb_strftime_timespec(const char *format, size_t format_len, rb_encoding *enc,
|
||||
|
|
Loading…
Reference in a new issue