sq_pushstring

Squirrel 3.0

sq_pushstring

void sq_pushstring(HSQUIRRELVM v, const SQChar * s, SQInteger len);

pushes a string in the stack

parameters:
HSQUIRRELVM v

the target VM

const SQChar * s

pointer to the string that has to be pushed

SQInteger len

lenght of the string pointed by s

remarks:

if the parameter len is less than 0 the VM will calculate the length using strlen(s)