sq_tostring

Squirrel 2.2

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