NeXusDataFormat
1
NeXusCAPI
|
Functions | |
NXstatus | NXmalloc (void **data, int rank, const int dimensions[], int datatype) |
Utility function which allocates a suitably sized memory area for the dataset characteristics specified. | |
NXstatus | NXfree (void **data) |
Utility function to release the memory for data. |
NXstatus NXfree | ( | void ** | data | ) |
Utility function to release the memory for data.
data | A pointer to a pointer to free. |
NXstatus NXmalloc | ( | void ** | data, |
int | rank, | ||
const int | dimensions[], | ||
int | datatype | ||
) |
Utility function which allocates a suitably sized memory area for the dataset characteristics specified.
data | A pointer to a pointer which will be initialized with a pointer to a suitably sized memory area. |
rank | the rank of the data. |
dimensions | An array holding the size of the data in each dimension. |
datatype | The NeXus data type of the data. |