sq_getbyhandle

Squirrel 3.0

sq_getbyhandle

SQRESULT sq_getbyhandle(HSQUIRRELVM v, SQInteger idx, HSQMEMBERHANDLE* handle);

pushes the value of a class or instance member using a member handle (see sq_getmemberhandle)

parameters:
HSQUIRRELVM v

the target VM

SQInteger idx

an index in the stack pointing to the class

HSQMEMBERHANDLE* handle

a pointer the member handle

return:

a SQRESULT