Transfers ownership of all <Type> objects from the source <TypeBuffer> to this <TypeBuffer>, provided this <TypeBuffer> contains non-owning pointers to the <Type> objects. The owning pointers in the source <TypeBuffer> are replaced with null pointers, and the non-owning pointers in hte destination are replaced with owning pointers. The overall memory layout of the source <TypeBuffer> does not change. (No deallocation occurs inside the source <TypeBuffer> when the owning pointers are transferred.)
int32 AcquireObjs( TypeBuffer p_oBuffer )
Parameter Type | Parameter Name | Documentation |
---|---|---|
<TypeBuffer> | p_oBuffer | A pointer to the source <TypeBuffer>. |
None published. Please look for an example in the Scenome Scripting Language code base.