cdcontainers
0.1.1
Library of data containers and collections for C programming language.
|
Functions | |
enum cdc_stat | cdc_circular_array_ctor (struct cdc_circular_array **d, struct cdc_data_info *info) |
Constructs an empty circular array. More... | |
enum cdc_stat | cdc_circular_array_ctorl (struct cdc_circular_array **d, struct cdc_data_info *info,...) |
Constructs a circular array, initialized by an variable number of pointers. The last pointer must be CDC_END. More... | |
enum cdc_stat | cdc_circular_array_ctorv (struct cdc_circular_array **d, struct cdc_data_info *info, va_list args) |
Constructs a circular array, initialized by args. The last pointer must be CDC_END. More... | |
void | cdc_circular_array_dtor (struct cdc_circular_array *d) |
Destroys the circular array. More... | |
enum cdc_stat cdc_circular_array_ctor | ( | struct cdc_circular_array ** | d, |
struct cdc_data_info * | info | ||
) |
Constructs an empty circular array.
[out] | d | - cdc_circular_array |
[in] | info | - cdc_data_info |
enum cdc_stat cdc_circular_array_ctorl | ( | struct cdc_circular_array ** | d, |
struct cdc_data_info * | info, | ||
... | |||
) |
Constructs a circular array, initialized by an variable number of pointers. The last pointer must be CDC_END.
[out] | d | - cdc_circular_array |
[in] | info | - cdc_data_info |
Example:
enum cdc_stat cdc_circular_array_ctorv | ( | struct cdc_circular_array ** | d, |
struct cdc_data_info * | info, | ||
va_list | args | ||
) |
Constructs a circular array, initialized by args. The last pointer must be CDC_END.
[out] | d | - cdc_circular_array |
[in] | info | - cdc_data_info |
void cdc_circular_array_dtor | ( | struct cdc_circular_array * | d | ) |
Destroys the circular array.
[in] | d | - cdc_circular_array |