Exemplo n.º 1
0
// 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)))
}
Exemplo n.º 2
0
Arquivo: lua.go Projeto: szll/golua
// lua_gc
func (L *State) GC(what, data int) int { return int(C.lua_gc(L.s, C.int(what), C.int(data))) }
Exemplo n.º 3
0
Arquivo: lua.go Projeto: hxyxj/goinfi
func (vm *VM) Gc(what, data int) int {
	return int(C.lua_gc(vm.globalL, C.int(what), C.int(data)))
}