sq_open

Squirrel 2.2

sq_open

HSQUIRRELVM sq_open(SQInteger initialstacksize);

creates a new instance of a squirrel VM that consists in a new execution stack.

parameters:
SQInteger initialstacksize

the size of the stack in slots(number of objects)

return:

an handle to a squirrel vm

remarks:

the returned VM has to be released with sq_releasevm