sq_getdelegate

Squirrel 3.0

sq_getdelegate

SQRESULT sq_getdelegate(HSQUIRRELVM v, SQInteger idx);

pushes the current delegate of the object at the position idx in the stack.

parameters:
HSQUIRRELVM v

the target VM

SQInteger idx

index of the target object in the stack

return:

a SQRESULT