29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
|
#include "object.h"
#include "map.h"
#include "hash.h"
static struct bucket {
CFWObject *key, *obj;
uint32_t hash;
} deleted = {};
struct CFWMap {
CFWObject obj;
struct bucket **data;
uint32_t size;
size_t items;
};
|
|
|
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
|
#include "object.h"
#include "map.h"
#include "hash.h"
static struct bucket {
CFWObject *key, *obj;
uint32_t hash;
} deleted = { NULL, NULL, 0 };
struct CFWMap {
CFWObject obj;
struct bucket **data;
uint32_t size;
size_t items;
};
|