sq_getfloat

Squirrel 3.0

sq_getfloat

SQRESULT sq_getfloat(HSQUIRRELVM v, SQInteger idx, SQFloat * f);

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

parameters:
HSQUIRRELVM v

the target VM

SQInteger idx

an index in the stack

SQFloat * f

A pointer to the float that will store the value

return:

a SQRESULT