diff options
author | Benny Baumann <BenBE@geshi.org> | 2020-11-29 14:54:10 +0100 |
---|---|---|
committer | Benny Baumann <BenBE@geshi.org> | 2020-11-29 14:54:10 +0100 |
commit | c1563337ae366ca66f25ed71a2f462a486df1337 (patch) | |
tree | 4be2eec57dc37a77910fb2be31e8b07cb6a819ec /Hashtable.h | |
parent | 9549ca8c8802f1242614dd1f897a05a66570acf4 (diff) |
Implement Hashtable_clear to empty an existing Hashtable
Diffstat (limited to 'Hashtable.h')
-rw-r--r-- | Hashtable.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/Hashtable.h b/Hashtable.h index f7d1aae2..6d934784 100644 --- a/Hashtable.h +++ b/Hashtable.h @@ -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); |