sq_getstring

Squirrel 3.0

sq_getstring

SQRESULT sq_getstring(HSQUIRRELVM v, SQInteger idx, const SQChar ** c);

gets a pointer to the string at the idx position in the stack.

parameters:
HSQUIRRELVM v

the target VM

SQInteger idx

an index in the stack

const SQChar ** c

a pointer to the pointer that will point to the string

return:

a SQRESULT