![]() |
O2S C Library 1.8.2
Provide high-level data-structures and other fundamental tools for C projects
|
Expose the state of dynamic arrays. More...
Go to the source code of this file.
Functions | |
void * | array_end (const array_t *self) |
One-past-the-end pointer of the array. | |
void * | array_first (const array_t *self) |
Pointer to the first element of the array. | |
void * | array_last (const array_t *self) |
Pointer of the last element of the array. | |
void * | array_get (const array_t *self, size_t index) |
Pointer of the element at position index of the array. | |
bool | array_is_empty (const array_t *self) |
True if the array contains no element. | |
size_t | array_count (const array_t *self) |
Number of elements stored. |
Expose the state of dynamic arrays.
Definition in file getters.c.
void * array_end | ( | const array_t * | self | ) |
void * array_first | ( | const array_t * | self | ) |
void * array_get | ( | const array_t * | self, |
size_t | index ) |