AllocateTypes Data Member Function

Allocates types of the specified types and transfers ownership of the types to the <TypeBuffer>.

Prototype

int32 AllocateTypes( TypeBuffer p_oBuffer, TypeInfoArray p_aoTypes, int32 p_nCount )

Parameters

Parameter Type Parameter Name Documentation
<TypeBuffer>p_oBufferA pointer to the <TypeBuffer> that owns the new types.
<TypeInfoArray>p_aoTypesA <TypeInfoArray> representing the types of types to allocate.
int32p_nCountThe number of sets of types to allocate. If you pass three types in and set the count to 3, you end up with 9 new types, allocated in blocks of types that are the same sequence as the <TypeInfoArray>.

Examples

Copy Text To Clipboard

None published. Please look for an example in the Scenome Scripting Language code base.