|
Libft
Custom implementation of core libc functions with additional utility helpers.
|
Key/value pair stored inside a hashmap bucket. More...
#include <libft.h>
Data Fields | |
| char * | key |
| Heap-allocated copy of the key string (owned by the pair). | |
| void * | value |
| Pointer to the stored value (owned by the pair). | |
Key/value pair stored inside a hashmap bucket.
A pair owns a private copy of its key (duplicated on creation) and takes ownership of the value pointer it is given. Both are released when the pair is destroyed (the value through the map's del callback).
| char* s_key_value::key |
Heap-allocated copy of the key string (owned by the pair).
| void* s_key_value::value |
Pointer to the stored value (owned by the pair).