sq_settop

Squirrel 3.0

sq_settop

void sq_settop(HSQUIRRELVM v, SQInteger v);

resize the stack, if new top is bigger then the current top the function will push nulls.

parameters:
HSQUIRRELVM v

the target VM

SQInteger v

the new top index