util/set: helper to remove entry by key
v2: Add unit test. (Eric Anholt) Reviewed-by: Eric Anholt <eric@anholt.net>
This commit is contained in:
committed by
Rafael Antognolli
parent
b034facfbc
commit
fa0c19d17b
@@ -81,6 +81,8 @@ _mesa_set_search_pre_hashed(const struct set *set, uint32_t hash,
|
||||
|
||||
void
|
||||
_mesa_set_remove(struct set *set, struct set_entry *entry);
|
||||
void
|
||||
_mesa_set_remove_key(struct set *set, const void *key);
|
||||
|
||||
struct set_entry *
|
||||
_mesa_set_next_entry(const struct set *set, struct set_entry *entry);
|
||||
|
||||
Reference in New Issue
Block a user