// Controls the garbage collector. // // This function performs several tasks, according to the value of the // parameter what, which must be one of the luajit.GC* constants. func (s *State) Gc(what, data int) int { return int(C.lua_gc(s.l, C.int(what), C.int(data))) }
// lua_gc func (L *State) GC(what, data int) int { return int(C.lua_gc(L.s, C.int(what), C.int(data))) }
func (vm *VM) Gc(what, data int) int { return int(C.lua_gc(vm.globalL, C.int(what), C.int(data))) }