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 _______________________________________________ mesa-dev mailing list mesa-dev@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/mesa-dev