aboutsummaryrefslogtreecommitdiff
path: root/lstate.h
diff options
context:
space:
mode:
Diffstat (limited to 'lstate.h')
-rw-r--r--lstate.h8
1 files changed, 6 insertions, 2 deletions
diff --git a/lstate.h b/lstate.h
index 51128db1..b01859aa 100644
--- a/lstate.h
+++ b/lstate.h
@@ -1,5 +1,5 @@
1/* 1/*
2** $Id: lstate.h,v 2.134 2017/02/15 18:52:13 roberto Exp roberto $ 2** $Id: lstate.h,v 2.135 2017/02/23 21:07:34 roberto Exp $
3** Global State 3** Global State
4** See Copyright Notice in lua.h 4** See Copyright Notice in lua.h
5*/ 5*/
@@ -160,8 +160,12 @@ typedef struct global_State {
160 GCObject *tobefnz; /* list of userdata to be GC */ 160 GCObject *tobefnz; /* list of userdata to be GC */
161 GCObject *fixedgc; /* list of objects not to be collected */ 161 GCObject *fixedgc; /* list of objects not to be collected */
162 /* fields for generational collector */ 162 /* fields for generational collector */
163 GCObject *old; /* start of old objects */
164 GCObject *survival; /* start of objects that survived one GC cycle */ 163 GCObject *survival; /* start of objects that survived one GC cycle */
164 GCObject *old; /* start of old objects */
165 GCObject *reallyold; /* old objects with more than one cycle */
166 GCObject *finobjsur; /* list of survival objects with finalizers */
167 GCObject *finobjold; /* list of old objects with finalizers */
168 GCObject *finobjrold; /* list of really old objects with finalizers */
165 struct lua_State *twups; /* list of threads with open upvalues */ 169 struct lua_State *twups; /* list of threads with open upvalues */
166 unsigned int gcfinnum; /* number of finalizers to call in each GC step */ 170 unsigned int gcfinnum; /* number of finalizers to call in each GC step */
167 int gcpause; /* size of pause between successive GCs */ 171 int gcpause; /* size of pause between successive GCs */