sq_rawdeleteslot |
SQRESULT sq_rawdeleteslot(
HSQUIRRELVM v, SQInteger idx, SQBool pushval)
;
Deletes a slot from a table without employing the _delslot metamethod. pops a key from the stack and delete the slot indexed by it from the table at position idx in the stack, if the slot does not exits nothing happens.
- parameters:
-
- HSQUIRRELVM v
-
the target VM
- SQInteger idx
-
index of the target table in the stack
- SQBool pushval
-
if this param is true the function will push the value of the deleted slot.
- return:
-
a SQRESULT