Allocating Arrays in libadr

adr_data_t *adr_data_new_array (adr_type_t *type, int size);

Allocates an empty array adr_data_t of type type. Arrays will automatically adjust their size to fit the amount of data placed in them. The size argument can be used to initialize the size of the array if it is known beforehand.

The value of type must be an array type.