sq_getbool

Squirrel 3.0

sq_getbool

SQRESULT sq_getbool(HSQUIRRELVM v, SQInteger idx, SQBool * b);

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

parameters:
HSQUIRRELVM v

the target VM

SQInteger idx

an index in the stack

SQBool * b

A pointer to the bool that will store the value

return:

a SQRESULT