sgs_GetStackItem [function]
SGSBOOL sgs_GetStackItem( sgs_Context* C, sgs_StkIdx item, sgs_Variable* out )
Write the data of the specified stack variable and increments its reference count if the index is valid.
- Function returns whether the stack index was valid.