sq_move

Squirrel 2.2

sq_move

void sq_move(HSQUIRRELVM dest, HSQUIRRELVM src, SQInteger idx);

pushes the object at the position 'idx' of the source vm stack in the destination vm stack.

parameters:
HSQUIRRELVM dest

the destination VM

HSQUIRRELVM src

the source VM

SQInteger idx

the index in the source stack of the value that has to be moved