Removes every entry and frees the slot array through the table's allocator. The table is usable again afterwards and allocates from scratch.
Values and keys that own memory are not freed.
table_reset :: (table: *Table)
Removes every entry and frees the slot array through the table's allocator. The table is usable again afterwards and allocates from scratch.
Values and keys that own memory are not freed.
Parameters
- table: *Table