aboutsummaryrefslogtreecommitdiffstats
path: root/src/util/set.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/util/set.h')
-rw-r--r--src/util/set.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/util/set.h b/src/util/set.h
index 9acd2c28c9f..06e79e15867 100644
--- a/src/util/set.h
+++ b/src/util/set.h
@@ -61,6 +61,9 @@ _mesa_set_create(void *mem_ctx,
void
_mesa_set_destroy(struct set *set,
void (*delete_function)(struct set_entry *entry));
+void
+_mesa_set_clear(struct set *set,
+ void (*delete_function)(struct set_entry *entry));
struct set_entry *
_mesa_set_add(struct set *set, const void *key);