diff options
author | José Fonseca <jrfonseca@tungstengraphics.com> | 2008-03-18 12:01:14 +0000 |
---|---|---|
committer | José Fonseca <jrfonseca@tungstengraphics.com> | 2008-03-18 17:20:56 +0000 |
commit | d26139d6a19aaf8b4dbbaa1ee937fed2283923e4 (patch) | |
tree | 47b50199d6f4c41605bdffb368bf54ad8d024959 /src/gallium/auxiliary/util/u_hash_table.h | |
parent | 56ac9eb1f6e3826e4e8f7ab0f1fdbeed06c41c9f (diff) |
d3d: Add function to walk through all items in the hash table.
Diffstat (limited to 'src/gallium/auxiliary/util/u_hash_table.h')
-rw-r--r-- | src/gallium/auxiliary/util/u_hash_table.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/gallium/auxiliary/util/u_hash_table.h b/src/gallium/auxiliary/util/u_hash_table.h index d941f2c6b1..1583bd7548 100644 --- a/src/gallium/auxiliary/util/u_hash_table.h +++ b/src/gallium/auxiliary/util/u_hash_table.h @@ -75,6 +75,11 @@ hash_table_remove(struct hash_table *ht, void *key); +enum pipe_error +hash_table_foreach(struct hash_table *ht, + enum pipe_error (*callback)(void *key, void *value, void *data), + void *data); + void hash_table_destroy(struct hash_table *ht); |