summaryrefslogtreecommitdiffstats
path: root/src/util/hash_table.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/util/hash_table.h')
-rw-r--r--src/util/hash_table.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/util/hash_table.h b/src/util/hash_table.h
index eb9dbc333ec..611dcf810dc 100644
--- a/src/util/hash_table.h
+++ b/src/util/hash_table.h
@@ -64,6 +64,8 @@ _mesa_hash_table_create(void *mem_ctx,
const void *b));
void _mesa_hash_table_destroy(struct hash_table *ht,
void (*delete_function)(struct hash_entry *entry));
+void _mesa_hash_table_clear(struct hash_table *ht,
+ void (*delete_function)(struct hash_entry *entry));
void _mesa_hash_table_set_deleted_key(struct hash_table *ht,
const void *deleted_key);