Implement Hashtable_clear to empty an existing Hashtable

This commit is contained in:
Benny Baumann
2020-11-29 14:54:10 +01:00
parent 9549ca8c88
commit c1563337ae
2 changed files with 17 additions and 7 deletions

View File

@ -37,6 +37,8 @@ Hashtable* Hashtable_new(unsigned int size, bool owner);
void Hashtable_delete(Hashtable* this);
void Hashtable_clear(Hashtable* this);
void Hashtable_setSize(Hashtable* this, unsigned int size);
void Hashtable_put(Hashtable* this, hkey_t key, void* value);