diff options
author | Roberto Ierusalimschy <roberto@inf.puc-rio.br> | 2010-12-29 16:00:23 -0200 |
---|---|---|
committer | Roberto Ierusalimschy <roberto@inf.puc-rio.br> | 2010-12-29 16:00:23 -0200 |
commit | 868ff40339fc72b7bf3c916afcdc2a992398346c (patch) | |
tree | 86864c97d7b1e7620a8c09e43e40cd7d6d3a5f89 /lgc.h | |
parent | aa6faa6331e3e5e326bf5830474ffd9b04425678 (diff) | |
download | lua-868ff40339fc72b7bf3c916afcdc2a992398346c.tar.gz lua-868ff40339fc72b7bf3c916afcdc2a992398346c.tar.bz2 lua-868ff40339fc72b7bf3c916afcdc2a992398346c.zip |
full collection does not restart collector + avoid changing GC
state if an error happens in a step
Diffstat (limited to 'lgc.h')
-rw-r--r-- | lgc.h | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -1,5 +1,5 @@ | |||
1 | /* | 1 | /* |
2 | ** $Id: lgc.h,v 2.47 2010/12/17 12:02:29 roberto Exp roberto $ | 2 | ** $Id: lgc.h,v 2.48 2010/12/20 18:17:46 roberto Exp roberto $ |
3 | ** Garbage Collector | 3 | ** Garbage Collector |
4 | ** See Copyright Notice in lua.h | 4 | ** See Copyright Notice in lua.h |
5 | */ | 5 | */ |
@@ -128,6 +128,7 @@ | |||
128 | LUAI_FUNC void luaC_separateudata (lua_State *L, int all); | 128 | LUAI_FUNC void luaC_separateudata (lua_State *L, int all); |
129 | LUAI_FUNC void luaC_freeallobjects (lua_State *L); | 129 | LUAI_FUNC void luaC_freeallobjects (lua_State *L); |
130 | LUAI_FUNC void luaC_step (lua_State *L); | 130 | LUAI_FUNC void luaC_step (lua_State *L); |
131 | LUAI_FUNC void luaC_forcestep (lua_State *L); | ||
131 | LUAI_FUNC void luaC_runtilstate (lua_State *L, int statesmask); | 132 | LUAI_FUNC void luaC_runtilstate (lua_State *L, int statesmask); |
132 | LUAI_FUNC void luaC_fullgc (lua_State *L, int isemergency); | 133 | LUAI_FUNC void luaC_fullgc (lua_State *L, int isemergency); |
133 | LUAI_FUNC GCObject *luaC_newobj (lua_State *L, int tt, size_t sz, | 134 | LUAI_FUNC GCObject *luaC_newobj (lua_State *L, int tt, size_t sz, |