Adding function to initialize carrdm_data with allocated data.
Changing function variable names to be more descriptive.
Adding functions to initialize carrdm_array with existing capacities.
Replacing function return void * with specific pointer types.
Adjusting white space.
Adjusting variable names to be more descriptive.
Updating function variable names.
Fixing global variable exports.
Adding type casts.