From 7043a93eba78a37460b66abcabf3707022bd0181 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Christian=20G=C3=B6ttsche?= Date: Mon, 4 Jan 2021 23:21:54 +0100 Subject: Hashtable: hide implementation of Hashtable and HashtableItem --- Hashtable.h | 13 +------------ 1 file changed, 1 insertion(+), 12 deletions(-) (limited to 'Hashtable.h') diff --git a/Hashtable.h b/Hashtable.h index 698d2cfc..7152f5df 100644 --- a/Hashtable.h +++ b/Hashtable.h @@ -14,18 +14,7 @@ typedef unsigned int ht_key_t; typedef void(*Hashtable_PairFunction)(ht_key_t key, void* value, void* userdata); -typedef struct HashtableItem_ { - ht_key_t key; - unsigned int probe; - void* value; -} HashtableItem; - -typedef struct Hashtable_ { - unsigned int size; - HashtableItem* buckets; - unsigned int items; - bool owner; -} Hashtable; +typedef struct Hashtable_ Hashtable; #ifndef NDEBUG -- cgit v1.2.3