summaryrefslogtreecommitdiff
path: root/src/gallium/auxiliary/util/u_cache.h
diff options
context:
space:
mode:
authorAlex Corscadden <alexc@vmware.com>2011-01-06 10:59:13 -0800
committerJosé Fonseca <jfonseca@vmware.com>2011-03-09 11:16:49 +0000
commitd00cbf46cde0edee6d8f2c08e14458ef92ff0fbe (patch)
treec94912243548d0bd3213db56980532f40c9a5553 /src/gallium/auxiliary/util/u_cache.h
parenteb2e8167fa543d12bac91e451838934ebbf0d594 (diff)
util: Add remove to util_cache
I need to be able to remove entries from util_cache caches. This change enables that functionality.
Diffstat (limited to 'src/gallium/auxiliary/util/u_cache.h')
-rw-r--r--src/gallium/auxiliary/util/u_cache.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/gallium/auxiliary/util/u_cache.h b/src/gallium/auxiliary/util/u_cache.h
index 8a612c6585..be3631b725 100644
--- a/src/gallium/auxiliary/util/u_cache.h
+++ b/src/gallium/auxiliary/util/u_cache.h
@@ -79,6 +79,10 @@ util_cache_clear(struct util_cache *cache);
void
util_cache_destroy(struct util_cache *cache);
+void
+util_cache_remove(struct util_cache *cache,
+ const void *key);
+
#ifdef __cplusplus
}