aboutsummaryrefslogtreecommitdiff
path: root/lstate.h
diff options
context:
space:
mode:
Diffstat (limited to 'lstate.h')
-rw-r--r--lstate.h6
1 files changed, 2 insertions, 4 deletions
diff --git a/lstate.h b/lstate.h
index dcceefe1..84847eae 100644
--- a/lstate.h
+++ b/lstate.h
@@ -1,5 +1,5 @@
1/* 1/*
2** $Id: lstate.h,v 2.46 2009/07/15 17:26:14 roberto Exp roberto $ 2** $Id: lstate.h,v 2.47 2009/10/23 19:12:19 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*/
@@ -132,10 +132,8 @@ typedef struct global_State {
132 GCObject *allweak; /* list of all-weak tables */ 132 GCObject *allweak; /* list of all-weak tables */
133 GCObject *tobefnz; /* list of userdata to be GC */ 133 GCObject *tobefnz; /* list of userdata to be GC */
134 Mbuffer buff; /* temporary buffer for string concatentation */ 134 Mbuffer buff; /* temporary buffer for string concatentation */
135 lu_mem GCthreshold; 135 lu_mem GCthreshold; /* when totalbytes > GCthreshold, run GC step */
136 lu_mem totalbytes; /* number of bytes currently allocated */ 136 lu_mem totalbytes; /* number of bytes currently allocated */
137 lu_mem estimate; /* an estimate of number of bytes actually in use */
138 lu_mem gcdept; /* how much GC is `behind schedule' */
139 int gcpause; /* size of pause between successive GCs */ 137 int gcpause; /* size of pause between successive GCs */
140 int gcstepmul; /* GC `granularity' */ 138 int gcstepmul; /* GC `granularity' */
141 lua_CFunction panic; /* to be called in unprotected errors */ 139 lua_CFunction panic; /* to be called in unprotected errors */