36 typedef struct as_hashmap_element_s {
105 typedef struct as_hashmap_s {
bool as_hashmap_foreach(const as_hashmap *map, as_map_foreach_callback callback, void *udata)
int as_hashmap_remove(as_hashmap *map, const as_val *key)
uint32_t as_hashmap_hashcode(const as_hashmap *map)
as_hashmap_element * table
int as_hashmap_set(as_hashmap *map, const as_val *key, const as_val *val)
as_hashmap * as_hashmap_new(uint32_t buckets)
as_hashmap * as_hashmap_init(as_hashmap *map, uint32_t buckets)
as_hashmap_element * extras
void as_hashmap_destroy(as_hashmap *map)
uint32_t as_hashmap_size(const as_hashmap *map)
bool(* as_map_foreach_callback)(const as_val *key, const as_val *value, void *udata)
as_val * as_hashmap_get(const as_hashmap *map, const as_val *key)
int as_hashmap_clear(as_hashmap *map)