Array allocation function
dip_Error dip_DataTypeArrayNew ( array, size, value, resources )
This function allocates the size elements of a dip_DataTypeArray and sets the size of the array to size. Each array element is initialized with value.
Data type | Name | Description |
dip_DataTypeArray * | array | Array |
dip_int | size | Size |
dip_DataType | value | Initial value |
dip_Resources | resources | Resources tracking structure. See ResourcesNew |
DataTypeArrayNew, DataTypeArrayFree, DataTypeArrayCopy, DataTypeArrayFind
ArrayNew, IntegerArrayNew, FloatArrayNew, ComplexArrayNew, BoundaryArrayNew, FrameWorkProcessArrayNew, DataTypeArrayNew, ImageArrayNew, BooleanArrayNew, VoidPointerArrayNew, StringArrayNew, CoordinateArrayNew