summaryrefslogtreecommitdiffstats
path: root/Hashtable.h
diff options
context:
space:
mode:
authorBenny Baumann <BenBE@geshi.org>2020-11-29 14:54:10 +0100
committerBenny Baumann <BenBE@geshi.org>2020-11-29 14:54:10 +0100
commitc1563337ae366ca66f25ed71a2f462a486df1337 (patch)
tree4be2eec57dc37a77910fb2be31e8b07cb6a819ec /Hashtable.h
parent9549ca8c8802f1242614dd1f897a05a66570acf4 (diff)
Implement Hashtable_clear to empty an existing Hashtable
Diffstat (limited to 'Hashtable.h')
-rw-r--r--Hashtable.h2
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);

© 2014-2024 Faster IT GmbH | imprint | privacy policy