sq_getclass

Squirrel 2.2

sq_getclass

SQRESULT sq_getclass(HSQUIRRELVM v, SQInteger idx);

pushes the class of the 'class instance' at stored position idx in the stack.

parameters:
HSQUIRRELVM v

the target VM

SQInteger idx

index of the target class instance in the stack

return:

a SQRESULT