Synopsis
MDA_COUNT step_GetNumArrayElems(void *array, int elem_size)
Purpose
Determines number of elements in the array
Description
This routine determines the number of elements in array. The array must be 1 dimensional and have been allocated using mda_Malloc, mda_Calloc, or mda_Realloc.
Input
array
Pointer to array
elem_size
Size of each element in bytes
Return
Number of elements in array