diff options
Diffstat (limited to 'builtins')
| -rw-r--r-- | builtins/datatypes.h | 8 | ||||
| -rw-r--r-- | builtins/table.c | 1 |
2 files changed, 8 insertions, 1 deletions
diff --git a/builtins/datatypes.h b/builtins/datatypes.h index 133b273f..3a2a9da7 100644 --- a/builtins/datatypes.h +++ b/builtins/datatypes.h @@ -22,7 +22,13 @@ typedef struct { } bucket_info_t; typedef struct table_s { - array_t entries; + union { + array_t entries; + struct { + void *_entry_data; + int64_t length:42; + }; + }; bucket_info_t *bucket_info; struct table_s *fallback; void *default_value; diff --git a/builtins/table.c b/builtins/table.c index e5ab410d..08e14958 100644 --- a/builtins/table.c +++ b/builtins/table.c @@ -21,6 +21,7 @@ #include "../SipHash/halfsiphash.h" #include "../util.h" #include "array.h" +#include "datatypes.h" #include "string.h" #include "table.h" #include "types.h" |
