Allocates types of the specified types and transfers ownership of the types to the <TypeBuffer>.
int32 AllocateTypes( TypeBuffer p_oBuffer, TypeInfoArray p_aoTypes, int32 p_nCount )
Parameter Type | Parameter Name | Documentation |
---|---|---|
<TypeBuffer> | p_oBuffer | A pointer to the <TypeBuffer> that owns the new types. |
<TypeInfoArray> | p_aoTypes | A <TypeInfoArray> representing the types of types to allocate. |
int32 | p_nCount | The 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>. |
None published. Please look for an example in the Scenome Scripting Language code base.