sq_setbyhandle

Squirrel 3.0

sq_setbyhandle

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

pops a value from the stack and sets it to 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