aboutsummaryrefslogtreecommitdiff
path: root/lstate.h
diff options
context:
space:
mode:
Diffstat (limited to 'lstate.h')
-rw-r--r--lstate.h9
1 files changed, 4 insertions, 5 deletions
diff --git a/lstate.h b/lstate.h
index 26a94082..1bb887c4 100644
--- a/lstate.h
+++ b/lstate.h
@@ -1,5 +1,5 @@
1/* 1/*
2** $Id: lstate.h,v 2.10 2004/12/13 12:15:11 roberto Exp roberto $ 2** $Id: lstate.h,v 2.11 2005/01/05 18:20:51 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*/
@@ -71,7 +71,6 @@ typedef struct global_State {
71 void *ud; /* auxiliary data to `realloc' */ 71 void *ud; /* auxiliary data to `realloc' */
72 lu_byte currentwhite; 72 lu_byte currentwhite;
73 lu_byte gcstate; /* state of garbage collector */ 73 lu_byte gcstate; /* state of garbage collector */
74 lu_byte gcgenerational;
75 GCObject *rootgc; /* list of all collectable objects */ 74 GCObject *rootgc; /* list of all collectable objects */
76 GCObject *firstudata; /* udata go to the end of `rootgc' */ 75 GCObject *firstudata; /* udata go to the end of `rootgc' */
77 GCObject **sweepgc; /* position of sweep in `rootgc' */ 76 GCObject **sweepgc; /* position of sweep in `rootgc' */
@@ -84,9 +83,9 @@ typedef struct global_State {
84 lu_mem GCthreshold; 83 lu_mem GCthreshold;
85 lu_mem totalbytes; /* number of bytes currently allocated */ 84 lu_mem totalbytes; /* number of bytes currently allocated */
86 lu_mem estimate; /* an estimate of number of bytes actually in use */ 85 lu_mem estimate; /* an estimate of number of bytes actually in use */
87 lu_mem prevestimate; /* previous estimate */ 86 lu_mem gcdept; /* how much GC is `behind schedule' */
88 int gcpace; /* relative `speed' of the GC */ 87 int gcpace; /* size of pause between successive GCs */
89 int incgc; /* 0 if GC is done non-incrementally */ 88 int gcstepmul; /* GC `granularity' */
90 lua_CFunction panic; /* to be called in unprotected errors */ 89 lua_CFunction panic; /* to be called in unprotected errors */
91 TValue _registry; 90 TValue _registry;
92 struct lua_State *mainthread; 91 struct lua_State *mainthread;