26 lines
384 B
Markdown
26 lines
384 B
Markdown
# map_internal.h
|
|
|
|
## Include Guard
|
|
```c
|
|
#ifndef MAP_INTERNAL_H
|
|
# define MAP_INTERNAL_H
|
|
|
|
# include <stdio.h>
|
|
# include <stdint.h>
|
|
# include "map.h"
|
|
# define MAP_INIT_CAP 16 // Default initial capacity for the map
|
|
```
|
|
|
|
## Functions
|
|
|
|
### [`map_grow`](/srcs/map/core.c.md#map_grow)
|
|
Grows the map's capacity when needed.
|
|
```c
|
|
int8_t
|
|
map_grow(t_map *map);
|
|
```
|
|
|
|
## End Guard
|
|
```c
|
|
#endif
|
|
```
|