
Functions | |
| t_posvec * | posvecnew (size_t size) |
| Create a vector with an initial starting size. | |
| int | posvecpush (t_posvec *vec, t_pos2 data) |
| Add a new element to the vector. | |
| int | posvecpop (t_posvec *vec, t_pos2 *pos) |
| Pops the last element of the vector if not empty. | |
| int | posvecremove (t_posvec *vec, size_t index, t_pos2 *result) |
| Removes the element at the specified index from the vector if found. | |
| void | posvecfree (t_posvec *vec) |
| Free the vector. | |