Function
Create an Array containing constant data.
Syntax
#include <dx/dx.h>
ConstantArray DXNewConstantArray (int items, Pointer data, Type t,
Category c, int rank, ...)
ConstantArray DXNewConstantArrayV (int items, Pointer data, Type t,
Category c, int rank, int *shape)
Functional Details
Constant Arrays provide a compact mechanism for representing constant values in Array form. All parameters are required:
TYPE_BYTE TYPE_HYPER TYPE_SHORT TYPE_UBYTE TYPE_INT TYPE_USHORT TYPE_DOUBLE TYPE_UINT TYPE_STRING TYPE_FLOAT
The Array created can be deleted with DXDelete. See 4.2 , "Memory Management".
Return Value
Return the Constant Array or returns NULL and sets an error code.
See Also
[Data Explorer Home Page | Contact Data Explorer | Same document on Data Explorer Home Page ]