summaryrefslogtreecommitdiff
path: root/st.c
diff options
context:
space:
mode:
Diffstat (limited to 'st.c')
-rw-r--r--st.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/st.c b/st.c
index 3672fa9a80..d89941a3a2 100644
--- a/st.c
+++ b/st.c
@@ -2459,6 +2459,12 @@ set_init_table_with_size(set_table *tab, const struct st_hash_type *type, st_ind
return tab;
}
+set_table *
+set_init_numtable(void)
+{
+ return set_init_table_with_size(NULL, &type_numhash, 0);
+}
+
size_t
set_table_size(const struct set_table *tbl)
{