summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorPeter Zhu <[email protected]>2023-12-15 14:49:45 -0500
committerPeter Zhu <[email protected]>2023-12-25 10:41:12 -0500
commit824ff48adcd47497b8e2993be5144de0e09a4f66 (patch)
tree7e3b645b1845167ac69d4a851d36964a5f297525 /include
parentf4d2fe5e0d22876a6df68b9b56fb00b25d7aa5d8 (diff)
Move internal ST functions to internal/st.h
st_replace and st_init_existing_table_with_size are functions used internally in Ruby and should not be publicly visible.
Diffstat (limited to 'include')
-rw-r--r--include/ruby/st.h4
1 files changed, 0 insertions, 4 deletions
diff --git a/include/ruby/st.h b/include/ruby/st.h
index ba69c066c9..f35ab43603 100644
--- a/include/ruby/st.h
+++ b/include/ruby/st.h
@@ -104,8 +104,6 @@ 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);
@@ -162,8 +160,6 @@ void rb_st_cleanup_safe(st_table *, st_data_t);
#define st_cleanup_safe rb_st_cleanup_safe
void rb_st_clear(st_table *);
#define st_clear rb_st_clear
-st_table *rb_st_replace(st_table *new_tab, st_table *old_tab);
-#define st_replace rb_st_replace
st_table *rb_st_copy(st_table *);
#define st_copy rb_st_copy
CONSTFUNC(int rb_st_numcmp(st_data_t, st_data_t));