Ruby 4.1.0dev (2026-09-21 revision 61de3dd727146cfcf24e8051595bb2fb842f37aa)
st.h
1#ifndef INTERNAL_ST_H
2#define INTERNAL_ST_H
3
4#include "ruby/st.h"
5
6st_table *rb_st_replace(st_table *new_tab, st_table *old_tab);
7#define st_replace rb_st_replace
8st_table *rb_st_init_existing_table_with_size(st_table *tab, const struct st_hash_type *type, st_index_t size);
9#define st_init_existing_table_with_size rb_st_init_existing_table_with_size
10
11st_table *rb_st_init_existing_numtable_with_size(st_table *tab, st_index_t size);
12#define st_init_existing_numtable_with_size rb_st_init_existing_numtable_with_size
13
14st_table *rb_st_init_existing_strtable_with_size(st_table *tab, st_index_t size);
15#define st_init_existing_strtable_with_size rb_st_init_existing_strtable_with_size
16
17void rb_st_free_embedded_table(st_table *tab);
18#define st_free_embedded_table rb_st_free_embedded_table
19
20int rb_st_insert_no_rebuild(st_table *tab, st_data_t key, st_data_t value);
21#define st_insert_no_rebuild rb_st_insert_no_rebuild
22
23typedef int st_foreach_with_hash_callback_func(st_data_t, st_data_t, st_data_t, st_data_t);
24int rb_st_foreach_with_hash(st_table *, st_foreach_with_hash_callback_func *, st_data_t);
25#define st_foreach_with_hash rb_st_foreach_with_hash
26#endif
Definition st.h:79