aboutsummaryrefslogtreecommitdiff
path: root/lstate.h
diff options
context:
space:
mode:
authorRoberto Ierusalimschy <roberto@inf.puc-rio.br>2013-09-03 12:37:10 -0300
committerRoberto Ierusalimschy <roberto@inf.puc-rio.br>2013-09-03 12:37:10 -0300
commitaeff4f79fa10caef29617652aa49b77055f4045e (patch)
tree8f411b76c7c0b496c01224a36852ed38527dba3d /lstate.h
parent1bf4faec64aca03e1036235e72675f0617124140 (diff)
downloadlua-aeff4f79fa10caef29617652aa49b77055f4045e.tar.gz
lua-aeff4f79fa10caef29617652aa49b77055f4045e.tar.bz2
lua-aeff4f79fa10caef29617652aa49b77055f4045e.zip
local collection now calls finalizers
Diffstat (limited to 'lstate.h')
-rw-r--r--lstate.h5
1 files changed, 3 insertions, 2 deletions
diff --git a/lstate.h b/lstate.h
index e03b75f2..38bbb982 100644
--- a/lstate.h
+++ b/lstate.h
@@ -1,5 +1,5 @@
1/* 1/*
2** $Id: lstate.h,v 2.91 2013/08/27 18:53:35 roberto Exp roberto $ 2** $Id: lstate.h,v 2.92 2013/08/30 19:14: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*/
@@ -121,8 +121,9 @@ typedef struct global_State {
121 lu_byte gcrunning; /* true if GC is running */ 121 lu_byte gcrunning; /* true if GC is running */
122 GCObject *allgc; /* list of all collectable objects */ 122 GCObject *allgc; /* list of all collectable objects */
123 GCObject *localgc; /* list of local objects */ 123 GCObject *localgc; /* list of local objects */
124 GCObject *finobj; /* list of collectable objects with finalizers */ 124 GCObject *localfin; /* list of local objects with finalizers */
125 GCObject **sweepgc; /* current position of sweep in list */ 125 GCObject **sweepgc; /* current position of sweep in list */
126 GCObject *finobj; /* list of collectable objects with finalizers */
126 GCObject *gray; /* list of gray objects */ 127 GCObject *gray; /* list of gray objects */
127 GCObject *grayagain; /* list of objects to be traversed atomically */ 128 GCObject *grayagain; /* list of objects to be traversed atomically */
128 GCObject *weak; /* list of tables with weak values */ 129 GCObject *weak; /* list of tables with weak values */