sq_tostring

Squirrel 3.0

sq_tostring

void sq_tostring(HSQUIRRELVM v, SQInteger idx);

converts the object at position idx in the stack to string and pushes the resulting string in the stack.

parameters:
HSQUIRRELVM v

the target VM

SQInteger idx

an index in the stack