diff options
author | Roberto Ierusalimschy <roberto@inf.puc-rio.br> | 2007-10-31 13:41:19 -0200 |
---|---|---|
committer | Roberto Ierusalimschy <roberto@inf.puc-rio.br> | 2007-10-31 13:41:19 -0200 |
commit | 5e8dd555748f0f5ef8c7afb5bcc9aa42decc8c81 (patch) | |
tree | 8b9b35b380fa3f6bcf606110903911fb4478b46d /lstate.c | |
parent | 0e961ad47acbe2d67b72c90cc1ba0040f3907b75 (diff) | |
download | lua-5e8dd555748f0f5ef8c7afb5bcc9aa42decc8c81.tar.gz lua-5e8dd555748f0f5ef8c7afb5bcc9aa42decc8c81.tar.bz2 lua-5e8dd555748f0f5ef8c7afb5bcc9aa42decc8c81.zip |
first implementation of ephemerons
Diffstat (limited to 'lstate.c')
-rw-r--r-- | lstate.c | 6 |
1 files changed, 2 insertions, 4 deletions
@@ -1,5 +1,5 @@ | |||
1 | /* | 1 | /* |
2 | ** $Id: lstate.c,v 2.40 2006/10/10 17:40:17 roberto Exp roberto $ | 2 | ** $Id: lstate.c,v 2.41 2007/10/29 16:51:20 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,9 +182,7 @@ 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->weakvalue = NULL; | 185 | g->weak = g->ephemeron = g->allweak = NULL; |
186 | g->weakkey = NULL; | ||
187 | g->weakkeyvalue = NULL; | ||
188 | g->tmudata = NULL; | 186 | g->tmudata = NULL; |
189 | g->totalbytes = sizeof(LG); | 187 | g->totalbytes = sizeof(LG); |
190 | g->gcpause = LUAI_GCPAUSE; | 188 | g->gcpause = LUAI_GCPAUSE; |