101 .convert_from = NULL,
amxc_array_t PRIVATE * amxc_variant_get_types_array(void)
uint32_t PRIVATE amxc_var_add_type(amxc_var_type_t *const type, const uint32_t index)
int PRIVATE amxc_var_remove_type(amxc_var_type_t *const type)
Ambiorix ring buffer API header file.
size_t amxc_array_size(const amxc_array_t *const array)
Calculates the number of used items in the array.
AMXC_INLINE void * amxc_array_get_data_at(const amxc_array_t *const array, const unsigned int index)
Gets the data pointer of the item at the given index.
amxc_array_it_t * amxc_array_get_at(const amxc_array_t *const array, const unsigned int index)
Gets the item iterator for the given index.
#define AMXC_VAR_ID_CUSTOM_BASE
Base variant id for custom variants.
#define AMXC_VAR_ID_MAX
Same as AMXC_VAR_ID_INVALID.
uint32_t amxc_var_register_type(amxc_var_type_t *const type)
Register a new variant type.
amxc_var_type_t * amxc_var_get_type(unsigned int type_id)
Get the type definition structure.
uint32_t amxc_var_get_type_id_from_name(const char *const name)
Get the type id.
int amxc_var_unregister_type(amxc_var_type_t *const type)
Unregisters an already registered variant type.
const char * amxc_var_get_type_name_from_id(const uint32_t type_id)
Get the type name.
A variant type structure.
static amxc_var_type_t dummy1
void test_amxc_var_remove_type(UNUSED void **state)
void test_amxc_var_get_type_id_from_name(UNUSED void **state)
void test_amxc_var_get_type(UNUSED void **state)
void test_amxc_var_register_type(UNUSED void **state)
void test_amxc_var_unregister_type(UNUSED void **state)
static amxc_var_type_t dummy3
void test_amxc_var_get_type_name_from_id(UNUSED void **state)
void test_amxc_var_add_type(UNUSED void **state)
static amxc_var_type_t dummy4
static amxc_var_type_t dummy2