Transfers ownership of an object from the source <TypeBuffer> to this <TypeBuffer>. The owning pointer in the source <TypeBuffer> is replaced with a nullptr, and the overall memory layout of the source <TypeBuffer> does not change. (No deallocation occurs inside the source <TypeBuffer> when the owning pointer is transferred.)
int32 AcquireObj( TypeBuffer src, Type p_oNode )
Parameter Type | Parameter Name | Documentation |
---|---|---|
<TypeBuffer> | src | A pointer to the <TypeBuffer>. |
<Type> | p_oNode | A pointer to the object you wish to transfer to the destination <TypeBuffer>. |
None published. Please look for an example in the Scenome Scripting Language code base.