aboutsummaryrefslogtreecommitdiff
path: root/lgc.h
diff options
context:
space:
mode:
authorRoberto Ierusalimschy <roberto@inf.puc-rio.br>2010-12-29 16:00:23 -0200
committerRoberto Ierusalimschy <roberto@inf.puc-rio.br>2010-12-29 16:00:23 -0200
commit868ff40339fc72b7bf3c916afcdc2a992398346c (patch)
tree86864c97d7b1e7620a8c09e43e40cd7d6d3a5f89 /lgc.h
parentaa6faa6331e3e5e326bf5830474ffd9b04425678 (diff)
downloadlua-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.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/lgc.h b/lgc.h
index 8a430294..b0520f36 100644
--- a/lgc.h
+++ b/lgc.h
@@ -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 @@
128LUAI_FUNC void luaC_separateudata (lua_State *L, int all); 128LUAI_FUNC void luaC_separateudata (lua_State *L, int all);
129LUAI_FUNC void luaC_freeallobjects (lua_State *L); 129LUAI_FUNC void luaC_freeallobjects (lua_State *L);
130LUAI_FUNC void luaC_step (lua_State *L); 130LUAI_FUNC void luaC_step (lua_State *L);
131LUAI_FUNC void luaC_forcestep (lua_State *L);
131LUAI_FUNC void luaC_runtilstate (lua_State *L, int statesmask); 132LUAI_FUNC void luaC_runtilstate (lua_State *L, int statesmask);
132LUAI_FUNC void luaC_fullgc (lua_State *L, int isemergency); 133LUAI_FUNC void luaC_fullgc (lua_State *L, int isemergency);
133LUAI_FUNC GCObject *luaC_newobj (lua_State *L, int tt, size_t sz, 134LUAI_FUNC GCObject *luaC_newobj (lua_State *L, int tt, size_t sz,