summaryrefslogtreecommitdiff
path: root/lstate.c
diff options
context:
space:
mode:
authorRoberto Ierusalimschy <roberto@inf.puc-rio.br>2007-10-29 14:51:20 -0200
committerRoberto Ierusalimschy <roberto@inf.puc-rio.br>2007-10-29 14:51:20 -0200
commit0e961ad47acbe2d67b72c90cc1ba0040f3907b75 (patch)
tree88233e2e58ebaec36b5cf109ea0cd838ec64ce89 /lstate.c
parentc06cc609466d4527848bbf87268ec714942d554a (diff)
downloadlua-0e961ad47acbe2d67b72c90cc1ba0040f3907b75.tar.gz
lua-0e961ad47acbe2d67b72c90cc1ba0040f3907b75.tar.bz2
lua-0e961ad47acbe2d67b72c90cc1ba0040f3907b75.zip
some changes toward ephemerons
Diffstat (limited to 'lstate.c')
-rw-r--r--lstate.c6
1 files changed, 4 insertions, 2 deletions
diff --git a/lstate.c b/lstate.c
index dc2827c3..109f3f3f 100644
--- a/lstate.c
+++ b/lstate.c
@@ -1,5 +1,5 @@
1/* 1/*
2** $Id: lstate.c,v 2.39 2006/09/11 14:07:24 roberto Exp roberto $ 2** $Id: lstate.c,v 2.40 2006/10/10 17:40:17 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*/
@@ -182,7 +182,9 @@ LUA_API lua_State *lua_newstate (lua_Alloc f, void *ud) {
182 g->sweepgc = &g->rootgc; 182 g->sweepgc = &g->rootgc;
183 g->gray = NULL; 183 g->gray = NULL;
184 g->grayagain = NULL; 184 g->grayagain = NULL;
185 g->weak = NULL; 185 g->weakvalue = NULL;
186 g->weakkey = NULL;
187 g->weakkeyvalue = NULL;
186 g->tmudata = NULL; 188 g->tmudata = NULL;
187 g->totalbytes = sizeof(LG); 189 g->totalbytes = sizeof(LG);
188 g->gcpause = LUAI_GCPAUSE; 190 g->gcpause = LUAI_GCPAUSE;