summaryrefslogtreecommitdiffstats
path: root/src/mesa/main/hash.h
diff options
context:
space:
mode:
authorMatt Turner <[email protected]>2015-07-30 14:24:07 -0700
committerMatt Turner <[email protected]>2016-05-20 10:05:09 -0700
commitaded1160e5e722610dd474583d78e745291cbd75 (patch)
tree5cdcbd31664de9b4e4b3979852c681f66cd24bac /src/mesa/main/hash.h
parentfb5dcb81cc121e4355b7eef014474a5c42a2f6db (diff)
hash: Add _mesa_HashRemoveLocked() function.
Reviewed-by: Timothy Arceri <[email protected]> Reviewed-by: Brian Paul <[email protected]>
Diffstat (limited to 'src/mesa/main/hash.h')
-rw-r--r--src/mesa/main/hash.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/mesa/main/hash.h b/src/mesa/main/hash.h
index da3b9973d24..52a6c5d9ddc 100644
--- a/src/mesa/main/hash.h
+++ b/src/mesa/main/hash.h
@@ -54,6 +54,8 @@ extern void *_mesa_HashLookupLocked(struct _mesa_HashTable *table, GLuint key);
extern void _mesa_HashInsertLocked(struct _mesa_HashTable *table,
GLuint key, void *data);
+extern void _mesa_HashRemoveLocked(struct _mesa_HashTable *table, GLuint key);
+
extern void
_mesa_HashDeleteAll(struct _mesa_HashTable *table,
void (*callback)(GLuint key, void *data, void *userData),