diff options
| author | Roberto Ierusalimschy <roberto@inf.puc-rio.br> | 2003-12-03 18:03:07 -0200 |
|---|---|---|
| committer | Roberto Ierusalimschy <roberto@inf.puc-rio.br> | 2003-12-03 18:03:07 -0200 |
| commit | c6eac44a9420a26a2f8907dcd5266a6aecdb18ea (patch) | |
| tree | acbf11560fe8aee5dddf37ff52b9fcaa6e697ca6 /lstate.c | |
| parent | 8878554b854009066eeccfe7b17e6e019c69758a (diff) | |
| download | lua-c6eac44a9420a26a2f8907dcd5266a6aecdb18ea.tar.gz lua-c6eac44a9420a26a2f8907dcd5266a6aecdb18ea.tar.bz2 lua-c6eac44a9420a26a2f8907dcd5266a6aecdb18ea.zip | |
two different white flags (to distinguish dead elements from new ones)
Diffstat (limited to 'lstate.c')
| -rw-r--r-- | lstate.c | 3 |
1 files changed, 2 insertions, 1 deletions
| @@ -1,5 +1,5 @@ | |||
| 1 | /* | 1 | /* |
| 2 | ** $Id: lstate.c,v 1.130 2003/12/01 18:22:56 roberto Exp roberto $ | 2 | ** $Id: lstate.c,v 1.131 2003/12/03 12:30:41 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 | */ |
| @@ -167,6 +167,7 @@ LUA_API lua_State *lua_newstate (lua_Alloc f, void *ud) { | |||
| 167 | g->panic = NULL; | 167 | g->panic = NULL; |
| 168 | g->gcstate = 0; | 168 | g->gcstate = 0; |
| 169 | g->rootgc = NULL; | 169 | g->rootgc = NULL; |
| 170 | g->currentwhite = bitmask(WHITE0BIT); | ||
| 170 | g->firstudata = NULL; | 171 | g->firstudata = NULL; |
| 171 | g->gray = NULL; | 172 | g->gray = NULL; |
| 172 | g->weak = NULL; | 173 | g->weak = NULL; |
