diff options
Diffstat (limited to 'lstate.h')
-rw-r--r-- | lstate.h | 4 |
1 files changed, 3 insertions, 1 deletions
@@ -1,5 +1,5 @@ | |||
1 | /* | 1 | /* |
2 | ** $Id: lstate.h,v 2.7 2004/08/30 13:44:44 roberto Exp roberto $ | 2 | ** $Id: lstate.h,v 2.8 2004/09/15 20:39:42 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 | */ |
@@ -85,6 +85,8 @@ typedef struct global_State { | |||
85 | lu_mem totalbytes; /* 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 */ | 86 | lu_mem estimate; /* an estimate of number of bytes actually in use */ |
87 | lu_mem prevestimate; /* previous estimate */ | 87 | lu_mem prevestimate; /* previous estimate */ |
88 | int stepmul; /* relative `speed' of the GC */ | ||
89 | int incgc; /* 0 if GC is done non-incrementally */ | ||
88 | lua_CFunction panic; /* to be called in unprotected errors */ | 90 | lua_CFunction panic; /* to be called in unprotected errors */ |
89 | TValue _registry; | 91 | TValue _registry; |
90 | struct lua_State *mainthread; | 92 | struct lua_State *mainthread; |