summaryrefslogtreecommitdiff
path: root/lstate.h
diff options
context:
space:
mode:
Diffstat (limited to 'lstate.h')
-rw-r--r--lstate.h6
1 files changed, 4 insertions, 2 deletions
diff --git a/lstate.h b/lstate.h
index 8c85b6f6..d8bda576 100644
--- a/lstate.h
+++ b/lstate.h
@@ -1,5 +1,5 @@
1/* 1/*
2** $Id: lstate.h,v 2.5 2004/06/02 19:07:55 roberto Exp roberto $ 2** $Id: lstate.h,v 2.6 2004/08/24 20:12:06 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*/
@@ -82,7 +82,9 @@ typedef struct global_State {
82 GCObject *tmudata; /* list of userdata to be GC */ 82 GCObject *tmudata; /* list of userdata to be GC */
83 Mbuffer buff; /* temporary buffer for string concatentation */ 83 Mbuffer buff; /* temporary buffer for string concatentation */
84 lu_mem GCthreshold; 84 lu_mem GCthreshold;
85 lu_mem nblocks; /* number of `bytes' currently allocated */ 85 lu_mem totalbytes; /* number of bytes currently allocated */
86 lu_mem estimate; /* an estimate of number of bytes actually in use */
87 lu_mem prevestimate; /* previous estimate */
86 lua_CFunction panic; /* to be called in unprotected errors */ 88 lua_CFunction panic; /* to be called in unprotected errors */
87 TValue _registry; 89 TValue _registry;
88 struct lua_State *mainthread; 90 struct lua_State *mainthread;