sq_getuserpointer |
SQRESULT sq_getuserpointer(
HSQUIRRELVM v, SQInteger idx, SQUserPointer * p)
;
gets the value of the userpointer at the idx position in the stack.
- parameters:
-
- HSQUIRRELVM v
-
the target VM
- SQInteger idx
-
an index in the stack
- SQUserPointer * p
-
A pointer to the userpointer that will store the value
- return:
-
a SQRESULT