summaryrefslogtreecommitdiffhomepage
path: root/include
diff options
context:
space:
mode:
Diffstat (limited to 'include')
-rw-r--r--include/ucode/types.h9
1 files changed, 8 insertions, 1 deletions
diff --git a/include/ucode/types.h b/include/ucode/types.h
index c0ccd38..2334029 100644
--- a/include/ucode/types.h
+++ b/include/ucode/types.h
@@ -213,7 +213,14 @@ extern uc_list_t uc_object_iterators;
typedef struct {
uc_list_t list;
- struct lh_entry *pos;
+ struct lh_table *table;
+ union {
+ struct lh_entry *pos;
+ struct {
+ const void *k;
+ unsigned long hash;
+ } kh;
+ } u;
} uc_object_iterator_t;