diff options
Diffstat (limited to 'src/util/set.h')
-rw-r--r-- | src/util/set.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/util/set.h b/src/util/set.h index 06e79e15867..4db070a6f10 100644 --- a/src/util/set.h +++ b/src/util/set.h @@ -58,6 +58,9 @@ _mesa_set_create(void *mem_ctx, uint32_t (*key_hash_function)(const void *key), bool (*key_equals_function)(const void *a, const void *b)); +struct set * +_mesa_set_clone(struct set *set, void *dst_mem_ctx); + void _mesa_set_destroy(struct set *set, void (*delete_function)(struct set_entry *entry)); |