diff options
author | Nobuyoshi Nakada <nobu@ruby-lang.org> | 2021-10-02 08:40:37 +0900 |
---|---|---|
committer | Nobuyoshi Nakada <nobu@ruby-lang.org> | 2021-10-02 11:43:35 +0900 |
commit | 806e7947fec775ce27aa783ee00dbd8f52685db8 (patch) | |
tree | 2b3ef290f4f9a418ca0e10e2c59a4932be93ca9e /internal | |
parent | 601c67e42ccdd0cab10c8e1097401876f24308b0 (diff) | |
download | ruby-806e7947fec775ce27aa783ee00dbd8f52685db8.tar.gz |
Add rb_ident_hash_new_with_size
Diffstat (limited to 'internal')
-rw-r--r-- | internal/hash.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/internal/hash.h b/internal/hash.h index e1f83d5018..f274cbbbd6 100644 --- a/internal/hash.h +++ b/internal/hash.h @@ -83,6 +83,7 @@ int rb_hash_stlike_delete(VALUE hash, st_data_t *pkey, st_data_t *pval); int rb_hash_stlike_foreach_with_replace(VALUE hash, st_foreach_check_callback_func *func, st_update_callback_func *replace, st_data_t arg); int rb_hash_stlike_update(VALUE hash, st_data_t key, st_update_callback_func *func, st_data_t arg); extern st_table *rb_hash_st_table(VALUE hash); +VALUE rb_ident_hash_new_with_size(st_index_t size); static inline unsigned RHASH_AR_TABLE_SIZE_RAW(VALUE h); static inline VALUE RHASH_IFNONE(VALUE h); |