Kohi Game Engine
|
Represents a simple hashtable. Members of this structure should not be modified outside the functions associated with it. More...
#include <hashtable.h>
Data Fields | |
u64 | element_size |
u32 | element_count |
b8 | is_pointer_type |
void * | memory |
Represents a simple hashtable. Members of this structure should not be modified outside the functions associated with it.
For non-pointer types, table retains a copy of the value.For pointer types, make sure to use the _ptr setter and getter. Table does not take ownership of pointers or associated memory allocations, and should be managed externally.
u32 element_count |
u64 element_size |
b8 is_pointer_type |
void* memory |