|
cdcontainers
0.1.1
Library of data containers and collections for C programming language.
|
Functions | |
| static void * | cdc_array_get (struct cdc_array *v, size_t index) |
| Returns an element at index position in the array. More... | |
| enum cdc_stat | cdc_array_at (struct cdc_array *v, size_t index, void **elem) |
| Writes to pointer an element from specified position in the array. Bounds checking is performed. More... | |
| static void * | cdc_array_front (struct cdc_array *v) |
| Returns a first element in the array. More... | |
| static void * | cdc_array_back (struct cdc_array *v) |
| Returns a last element in the array. More... | |
| static void ** | cdc_array_data (struct cdc_array *v) |
| Returns a pointer to the data stored in the array. More... | |
|
inlinestatic |
Returns an element at index position in the array.
| [in] | v | - cdc_array |
| [in] | index | - index of an element to return |
Writes to pointer an element from specified position in the array. Bounds checking is performed.
| [in] | v | - cdc_array |
| [in] | index | - index of an element to write at elem |
| [out] | elem | - pointer where an element will be written |
|
inlinestatic |
Returns a first element in the array.
| [in] | v | - cdc_array |
|
inlinestatic |
1.8.13