diff options
author | Roberto Ierusalimschy <roberto@inf.puc-rio.br> | 2003-12-04 15:22:42 -0200 |
---|---|---|
committer | Roberto Ierusalimschy <roberto@inf.puc-rio.br> | 2003-12-04 15:22:42 -0200 |
commit | 9db1942bac5fb509c6e46ccc825351a6be546792 (patch) | |
tree | d9f8091bf61610b7681c10b9b769031fc787f65e /lstate.h | |
parent | c6eac44a9420a26a2f8907dcd5266a6aecdb18ea (diff) | |
download | lua-9db1942bac5fb509c6e46ccc825351a6be546792.tar.gz lua-9db1942bac5fb509c6e46ccc825351a6be546792.tar.bz2 lua-9db1942bac5fb509c6e46ccc825351a6be546792.zip |
sweep of strings also incremental
Diffstat (limited to 'lstate.h')
-rw-r--r-- | lstate.h | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -1,5 +1,5 @@ | |||
1 | /* | 1 | /* |
2 | ** $Id: lstate.h,v 1.116 2003/12/03 12:30:41 roberto Exp roberto $ | 2 | ** $Id: lstate.h,v 1.117 2003/12/03 20:03:07 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 | */ |
@@ -101,6 +101,7 @@ typedef struct global_State { | |||
101 | GCObject *rootgc; /* list of all collectable objects */ | 101 | GCObject *rootgc; /* list of all collectable objects */ |
102 | GCObject *firstudata; /* udata go to the end of `rootgc' */ | 102 | GCObject *firstudata; /* udata go to the end of `rootgc' */ |
103 | GCObject **sweepgc; /* position of sweep in `rootgc' */ | 103 | GCObject **sweepgc; /* position of sweep in `rootgc' */ |
104 | int sweepstrgc; /* position of sweep in `strt' */ | ||
104 | GCObject *gray; /* list of gray objects */ | 105 | GCObject *gray; /* list of gray objects */ |
105 | GCObject *weak; /* list of weak tables (to be cleared) */ | 106 | GCObject *weak; /* list of weak tables (to be cleared) */ |
106 | GCObject *tmudata; /* list of userdata to be GC */ | 107 | GCObject *tmudata; /* list of userdata to be GC */ |