summaryrefslogtreecommitdiff
path: root/lstate.c
diff options
context:
space:
mode:
authorRoberto Ierusalimschy <roberto@inf.puc-rio.br>2013-08-30 16:14:26 -0300
committerRoberto Ierusalimschy <roberto@inf.puc-rio.br>2013-08-30 16:14:26 -0300
commit1bf4faec64aca03e1036235e72675f0617124140 (patch)
treedca4218f3085090a27c288ccd11aaf1bdb520905 /lstate.c
parent8ef9e8460e775793f760deb28d0c3d10dda31b49 (diff)
downloadlua-1bf4faec64aca03e1036235e72675f0617124140.tar.gz
lua-1bf4faec64aca03e1036235e72675f0617124140.tar.bz2
lua-1bf4faec64aca03e1036235e72675f0617124140.zip
new GC state to sweep 'localgc' list + small changes in sweep control
Diffstat (limited to 'lstate.c')
-rw-r--r--lstate.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/lstate.c b/lstate.c
index 1fe59cd3..842f6a42 100644
--- a/lstate.c
+++ b/lstate.c
@@ -1,5 +1,5 @@
1/* 1/*
2** $Id: lstate.c,v 2.107 2013/08/27 18:53:35 roberto Exp roberto $ 2** $Id: lstate.c,v 2.108 2013/08/28 18:30:26 roberto Exp roberto $
3** Global State 3** Global State
4** See Copyright Notice in lua.h 4** See Copyright Notice in lua.h
5*/ 5*/
@@ -301,7 +301,7 @@ LUA_API lua_State *lua_newstate (lua_Alloc f, void *ud) {
301 g->finobj = NULL; 301 g->finobj = NULL;
302 g->tobefnz = NULL; 302 g->tobefnz = NULL;
303 g->fixedgc = NULL; 303 g->fixedgc = NULL;
304 g->sweepgc = g->sweepfin = NULL; 304 g->sweepgc = NULL;
305 g->gray = g->grayagain = NULL; 305 g->gray = g->grayagain = NULL;
306 g->weak = g->ephemeron = g->allweak = NULL; 306 g->weak = g->ephemeron = g->allweak = NULL;
307 g->totalbytes = sizeof(LG); 307 g->totalbytes = sizeof(LG);