sq_getinteger

Squirrel 2.2

sq_getinteger

SQRESULT sq_getinteger(HSQUIRRELVM v, SQInteger idx, SQInteger * i);

gets the value of the integer at the idx position in the stack.

parameters:
HSQUIRRELVM v

the target VM

SQInteger idx

an index in the stack

SQInteger * i

A pointer to the integer that will store the value

return:

a SQRESULT