|
int | hashmap_put_tuple (struct hashmap_s *const m, const char *const key, const hashmap_uint32_t len, PyObject *py_key, PyObject *value) |
| Put a key-value pair into the hashmap.
|
|
struct map_tuple * | hashmap_pop_tuple (struct hashmap_s *const m, const char *const key, const hashmap_uint32_t len) |
| Remove a value from the hashmap.
|
|
void | hashmap_destroy_tuple (struct hashmap_s *m) |
| Destroy a hashmap, assuming the values are map_tuples.
|
|
void | hashmap_destroy_py (struct hashmap_s *m) |
| Destroy a hashmap, assuming the values are PyObjects.
|
|
int | hashmap_create_xh (const hashmap_uint32_t initial_capacity, struct hashmap_s *const out_hashmap) |
| Create a hashmap with a custom hash function.
|
|
Contains the declarations for our extension of the hashmap module.
This file includes the declarations from hashmap.h, which should be located in hashmap dir in project root. By default that's a git submodule. This means, that in this project you should ideally include this file.