|
Libft
Custom implementation of core libc functions with additional utility helpers.
|

Functions | |
| bool | vector_init (t_vector *vector, size_t item_size, size_t cap) |
| Initializes a vector with a given item size and initial capacity. | |
| bool | vector_grow (t_vector *vector) |
| Grows vector capacity, usually by doubling it. | |
| bool | vector_adjust (t_vector *vector) |
| Shrinks vector capacity to match its current length. | |
| bool | vector_dup (t_vector *dst, const t_vector *src) |
| Duplicates a vector into another one. | |
| void | vector_free (t_vector *vector, void(*item_free)(void *item)) |
| Frees the vector's internal storage. | |