[Mesa-dev] [PATCH 84/87] mesa: make string_to_uint_map hash table public
Timothy Arceri
timothy.arceri at collabora.com
Wed Jul 13 02:48:19 UTC 2016
This will allow us to make use of the hash_table_call_foreach()
function from outside the object.
---
src/mesa/program/hash_table.h | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/src/mesa/program/hash_table.h b/src/mesa/program/hash_table.h
index d0a2abf..0170bce 100644
--- a/src/mesa/program/hash_table.h
+++ b/src/mesa/program/hash_table.h
@@ -296,6 +296,8 @@ public:
free(dup_key);
}
+ struct hash_table *ht;
+
private:
static void delete_key(const void *key, void *data, void *closure)
{
@@ -315,8 +317,6 @@ private:
wrapper->callback((const char *) key, value, wrapper->closure);
}
-
- struct hash_table *ht;
};
#endif /* __cplusplus */
--
2.7.4
More information about the mesa-dev
mailing list