DataMapAddArray
Syntax | |||||||||||||
int DataMapAddArray(struct DataMap *ptr, char *name,int type,int dim, int32 *rng,void *data); | |||||||||||||
Header | |||||||||||||
general/dmap.h | |||||||||||||
Library | |||||||||||||
dmap | |||||||||||||
Description | |||||||||||||
The The data structure is pointed to by the argument ptr. The name of the array variable to add is given by the zero terminated string pointed to by the argument name. The scalar type is given by the argument type. Possible values are:
The number of dimensions of the array are given by the argument dim and the ranges of those dimensions are stored in the array pointed to by the argument rng. The argument data is a pointer to the location that stores the array. | |||||||||||||
Returns | |||||||||||||
Returns zero on success. On error, (-1) is returned. | |||||||||||||
Errors | |||||||||||||
On error, (-1) is returned. | |||||||||||||
Example | |||||||||||||
|