![]() |
O2S C Library 1.8.2
Provide high-level data-structures and other fundamental tools for C projects
|
Modify the underlying storage of an array. More...
Go to the source code of this file.
Functions | |
| size_t | array_offset (const array_t *self, size_t count) |
The size in memory of count elements. | |
| bool | array_reserve (array_t *self, size_t count) |
Ensures the array has enough capacity to fit count new elements, reallocating if needed. | |
| bool | array_trim (array_t *self) |
| Resizes the underlying storage to fit exactly the current elements count. | |
Modify the underlying storage of an array.
Definition in file memory.c.
| bool array_reserve | ( | array_t * | self, |
| size_t | count ) |