diff options
Diffstat (limited to 'Hashtable.c')
-rw-r--r-- | Hashtable.c | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/Hashtable.c b/Hashtable.c index 4f08c162..8dd5cffd 100644 --- a/Hashtable.c +++ b/Hashtable.c @@ -19,6 +19,20 @@ in the source distribution for its full text. #include "XUtils.h" +typedef struct HashtableItem_ { + ht_key_t key; + unsigned int probe; + void* value; +} HashtableItem; + +struct Hashtable_ { + unsigned int size; + HashtableItem* buckets; + unsigned int items; + bool owner; +}; + + #ifndef NDEBUG static void Hashtable_dump(const Hashtable* this) { |