From 868ff40339fc72b7bf3c916afcdc2a992398346c Mon Sep 17 00:00:00 2001 From: Roberto Ierusalimschy Date: Wed, 29 Dec 2010 16:00:23 -0200 Subject: full collection does not restart collector + avoid changing GC state if an error happens in a step --- lgc.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'lgc.h') diff --git a/lgc.h b/lgc.h index 8a430294..b0520f36 100644 --- a/lgc.h +++ b/lgc.h @@ -1,5 +1,5 @@ /* -** $Id: lgc.h,v 2.47 2010/12/17 12:02:29 roberto Exp roberto $ +** $Id: lgc.h,v 2.48 2010/12/20 18:17:46 roberto Exp roberto $ ** Garbage Collector ** See Copyright Notice in lua.h */ @@ -128,6 +128,7 @@ LUAI_FUNC void luaC_separateudata (lua_State *L, int all); LUAI_FUNC void luaC_freeallobjects (lua_State *L); LUAI_FUNC void luaC_step (lua_State *L); +LUAI_FUNC void luaC_forcestep (lua_State *L); LUAI_FUNC void luaC_runtilstate (lua_State *L, int statesmask); LUAI_FUNC void luaC_fullgc (lua_State *L, int isemergency); LUAI_FUNC GCObject *luaC_newobj (lua_State *L, int tt, size_t sz, -- cgit v1.2.3-55-g6feb