Drop unused hash table

We now just use a table for looking up object IDs so we should drop the
hash table.
This commit is contained in:
Kristian Høgsberg 2011-12-27 13:53:59 -05:00
parent bc79f1f820
commit c1b9203e5a
4 changed files with 3 additions and 319 deletions

View file

@ -65,17 +65,6 @@ struct wl_object {
uint32_t id;
};
typedef void (*wl_iterator_func_t)(void *element, void *data);
struct wl_hash_table;
struct wl_hash_table *wl_hash_table_create(void);
void wl_hash_table_destroy(struct wl_hash_table *ht);
void *wl_hash_table_lookup(struct wl_hash_table *ht, uint32_t hash);
int wl_hash_table_insert(struct wl_hash_table *ht, uint32_t hash, void *data);
void wl_hash_table_remove(struct wl_hash_table *ht, uint32_t hash);
void wl_hash_table_for_each(struct wl_hash_table *ht,
wl_iterator_func_t func, void *data);
/**
* wl_list - linked list
*