sq_getattributes |
SQRESULT sq_getattributes(
HSQUIRRELVM v, SQInteger idx)
;
Gets the attribute of a class mameber. The function pops a key from the stack and pushes the attribute of the class member indexed by they key from class at position idx in the stack. If key is null the function gets the class level attribute.
- parameters:
-
- HSQUIRRELVM v
-
the target VM
- SQInteger idx
-
index of the target class in the stack
- return:
-
a SQRESULT