summaryrefslogtreecommitdiff
path: root/src/gallium/auxiliary/util/u_hash_table.h
diff options
context:
space:
mode:
authorJosé Fonseca <jrfonseca@tungstengraphics.com>2008-05-08 15:19:07 +0900
committerJosé Fonseca <jrfonseca@tungstengraphics.com>2008-05-08 15:29:20 +0900
commit665b327a47ce80d136e91cfafedbc165227ea168 (patch)
treedd9b2556e944859e728732448eabbff92c52c65b /src/gallium/auxiliary/util/u_hash_table.h
parent53996e562f8623ccb1defeaaa77efdff24477808 (diff)
gallium: Really free hash entries.
Hook up to the new cso_hash_erase function.
Diffstat (limited to 'src/gallium/auxiliary/util/u_hash_table.h')
-rw-r--r--src/gallium/auxiliary/util/u_hash_table.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/gallium/auxiliary/util/u_hash_table.h b/src/gallium/auxiliary/util/u_hash_table.h
index 1583bd7548..feee881582 100644
--- a/src/gallium/auxiliary/util/u_hash_table.h
+++ b/src/gallium/auxiliary/util/u_hash_table.h
@@ -75,6 +75,10 @@ hash_table_remove(struct hash_table *ht,
void *key);
+void
+hash_table_clear(struct hash_table *ht);
+
+
enum pipe_error
hash_table_foreach(struct hash_table *ht,
enum pipe_error (*callback)(void *key, void *value, void *data),