aboutsummaryrefslogtreecommitdiff
path: root/lstate.h
diff options
context:
space:
mode:
Diffstat (limited to 'lstate.h')
-rw-r--r--lstate.h7
1 files changed, 3 insertions, 4 deletions
diff --git a/lstate.h b/lstate.h
index a62bcef8..a7a8d648 100644
--- a/lstate.h
+++ b/lstate.h
@@ -1,5 +1,5 @@
1/* 1/*
2** $Id: lstate.h,v 1.114 2003/12/01 16:33:30 roberto Exp roberto $ 2** $Id: lstate.h,v 1.115 2003/12/01 18:22:56 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*/
@@ -97,10 +97,9 @@ typedef struct global_State {
97 stringtable strt; /* hash table for strings */ 97 stringtable strt; /* hash table for strings */
98 lua_Alloc realloc; /* function to reallocate memory */ 98 lua_Alloc realloc; /* function to reallocate memory */
99 void *ud; /* auxiliary data to `realloc' */ 99 void *ud; /* auxiliary data to `realloc' */
100 GCObject *rootgc; /* list of (almost) all collectable objects */ 100 GCObject *rootgc; /* list of all collectable objects */
101 GCObject *rootudata; /* (separated) list of all userdata */ 101 GCObject *firstudata; /* udata go to the end of `rootgc' */
102 GCObject **sweepgc; /* position of sweep in `rootgc' */ 102 GCObject **sweepgc; /* position of sweep in `rootgc' */
103 GCObject **sweepudata; /* position of sweep in `rootudata' */
104 GCObject *gray; /* list of gray objects */ 103 GCObject *gray; /* list of gray objects */
105 GCObject *weak; /* list of weak tables (to be cleared) */ 104 GCObject *weak; /* list of weak tables (to be cleared) */
106 GCObject *tmudata; /* list of userdata to be GC */ 105 GCObject *tmudata; /* list of userdata to be GC */