SQInteger sq_collectgarbage(
HSQUIRRELVM v)
;
runs the garbage collector and returns the number of reference cycles found(and deleted)
-
parameters:
-
-
HSQUIRRELVM v
-
the target VM
-
remarks:
-
this api only works with gabage collector builds (NO_GARBAGE_COLLECTOR is not defined)