sgs_GetObjectStruct(P) [functions]
sgs_VarObj* sgs_GetObjectStruct( sgs_Context* C, sgs_StkIdx item )
Return the object's internal data pointer of the specified stack item.
sgs_VarObj* sgs_GetObjectStructP( sgs_Context* C, sgs_Variable* var )
Return the object's internal data pointer of the specified variable.
- If item is out of bounds or not an object, NULL will be returned and ...
- in a debug build, one of the BreakIf macros will go off and stop the action.