|
Serene Runtime 1.0.0
C runtime for the Serene programming language
|
#include <hashmap.h>
Data Fields | |
| hmap_bitmap_t | datamap |
| hmap_bitmap_t | nodemap |
| hmap_data_t * | entries |
| This is really a (void **) which each entry in the array will be either (mutually exclusive): | |
| hmap_bitmap_t hmap_node_t::datamap |
| hmap_data_t* hmap_node_t::entries |
This is really a (void **) which each entry in the array will be either (mutually exclusive):
datamap and nodemap bitmaps.For example, if datamap is 0b...110 and nodemap is 0b...001 then the first entry, is a child node (a pointer to hmap_node_t) and second and third entries are pointers to hmap_kv_entry_t or simply the key/value
| hmap_bitmap_t hmap_node_t::nodemap |