[Mesa-dev] [PATCH 70/77] util: make string_to_uint_map hash table public
Timothy Arceri
timothy.arceri at collabora.com
Mon Oct 3 06:05:29 UTC 2016
This will allow us to make use of the hash_table_call_foreach()
function from outside the object.
---
src/util/string_to_uint_map.h | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/src/util/string_to_uint_map.h b/src/util/string_to_uint_map.h
index e0533ec..18f5166 100644
--- a/src/util/string_to_uint_map.h
+++ b/src/util/string_to_uint_map.h
@@ -150,6 +150,8 @@ public:
free(dup_key);
}
+ struct hash_table *ht;
+
private:
static void delete_key(const void *key, void *data, void *closure)
{
@@ -169,8 +171,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