C4 Engine
C4 Engine API Documentation

PrimitiveStructure::GetArraySize

Defined in:  TSOpenDDL.h
Returns the array size for a primitive data type.
Prototype

uint32 GetArraySize(voidconst;

Description
The GetArraySize function returns the number of elements in each subarray contained in the data belonging to a primitive data structure. This corresponds to the number specified in brackets after the type identifier. If no array size is specified for a structure, then the GetArraySize function returns zero.
See Also

DataStructure::GetArrayDataElement