commit | fa0c19d17b9b6308fdca01f609c167b3ea1e68ae | [log] [tgz] |
---|---|---|
author | Caio Marcelo de Oliveira Filho <caio.oliveira@intel.com> | Mon Jun 25 13:42:22 2018 -0700 |
committer | Rafael Antognolli <rafael.antognolli@intel.com> | Thu Jul 12 14:03:51 2018 -0700 |
tree | f75e9e33e5ccc8766053931cc361d58c948abdf4 | |
parent | b034facfbc446b28f2cc92c32122849a25fb1001 [diff] [blame] |
util/set: helper to remove entry by key v2: Add unit test. (Eric Anholt) Reviewed-by: Eric Anholt <eric@anholt.net>
diff --git a/src/util/set.h b/src/util/set.h index 4db070a..ffd19a7 100644 --- a/src/util/set.h +++ b/src/util/set.h
@@ -81,6 +81,8 @@ 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);