diff options
Diffstat (limited to 'src/mesa/shader/hash_table.h')
-rw-r--r-- | src/mesa/shader/hash_table.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/mesa/shader/hash_table.h b/src/mesa/shader/hash_table.h index 0552691464..228ab948ff 100644 --- a/src/mesa/shader/hash_table.h +++ b/src/mesa/shader/hash_table.h @@ -94,6 +94,10 @@ extern void *hash_table_find(struct hash_table *ht, const void *key); extern void hash_table_insert(struct hash_table *ht, void *data, const void *key); +/** + * Remove a specific element from a hash table. + */ +extern void hash_table_remove(struct hash_table *ht, const void *key); /** * Compute hash value of a string |