diff options
author | Peter Zhu <peter@peterzhu.ca> | 2023-04-19 16:02:36 -0400 |
---|---|---|
committer | Peter Zhu <peter@peterzhu.ca> | 2023-05-17 09:19:40 -0400 |
commit | 0938964ba1af3924cf969fb809fc3598892bc20d (patch) | |
tree | c87a84dcbec890a0e35a4a84c96a0892653dbbc0 /include/ruby/st.h | |
parent | 5199f2aaf9527c97e6ec371e19748d0c2ac7a70e (diff) | |
download | ruby-0938964ba1af3924cf969fb809fc3598892bc20d.tar.gz |
Implement Hash ST tables on VWA
Diffstat (limited to 'include/ruby/st.h')
-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 f35ab43603..0d42283364 100644 --- a/include/ruby/st.h +++ b/include/ruby/st.h @@ -104,6 +104,8 @@ st_table *rb_st_init_table(const struct st_hash_type *); #define st_init_table rb_st_init_table st_table *rb_st_init_table_with_size(const struct st_hash_type *, st_index_t); #define st_init_table_with_size rb_st_init_table_with_size +st_table *rb_st_init_existing_table_with_size(st_table *tab, const struct st_hash_type *type, st_index_t size); +#define st_init_existing_table_with_size rb_st_init_existing_table_with_size st_table *rb_st_init_numtable(void); #define st_init_numtable rb_st_init_numtable st_table *rb_st_init_numtable_with_size(st_index_t); |