|
cdcontainers
0.1.1
Library of data containers and collections for C programming language.
|
Functions | |
| void * | cdc_list_get (struct cdc_list *l, size_t index) |
| Returns an element at index position index in the list. More... | |
| enum cdc_stat | cdc_list_at (struct cdc_list *l, size_t index, void **elem) |
| Writes to pointer an element from specified position in the list. Bounds checking is performed. More... | |
| static void * | cdc_list_front (struct cdc_list *l) |
| Returns a first element in the list. More... | |
| static void * | cdc_list_back (struct cdc_list *l) |
| Returns a last element in the list. More... | |
| void* cdc_list_get | ( | struct cdc_list * | l, |
| size_t | index | ||
| ) |
Returns an element at index position index in the list.
| [in] | l | - cdc_list |
| [in] | index | - index of an element to return |
Writes to pointer an element from specified position in the list. Bounds checking is performed.
| [in] | l | - cdc_list |
| [in] | index | - index of an element to write at elem |
| [out] | elem | - pointer where an element will be written |
|
inlinestatic |
1.8.13