sq_getclosurename

Squirrel 3.0

sq_getclosurename

SQRESULT sq_getclosurename(HSQUIRRELVM v, SQInteger idx);

pushes the name of the closure at poistion idx in the stack. Note that the name can be a string or null if the closure is anonymous or a native closure with no name assigned to it.

parameters:
HSQUIRRELVM v

the target VM

SQInteger idx

index of the target closure

return:

an SQRESULT