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.76 2012/01/25 21:05:40 roberto Exp roberto $ | 2 | ** $Id: lstate.h,v 2.77 2012/02/01 21:57:15 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 | */ |
@@ -113,7 +113,9 @@ typedef struct global_State { | |||
113 | void *ud; /* auxiliary data to `frealloc' */ | 113 | void *ud; /* auxiliary data to `frealloc' */ |
114 | lu_mem totalbytes; /* number of bytes currently allocated - GCdebt */ | 114 | lu_mem totalbytes; /* number of bytes currently allocated - GCdebt */ |
115 | l_mem GCdebt; /* bytes allocated not yet compensated by the collector */ | 115 | l_mem GCdebt; /* bytes allocated not yet compensated by the collector */ |
116 | lu_mem GCmemtrav; /* memory traversed by the GC */ | ||
116 | lu_mem lastmajormem; /* memory in use after last major collection */ | 117 | lu_mem lastmajormem; /* memory in use after last major collection */ |
118 | lu_mem estimate; | ||
117 | stringtable strt; /* hash table for strings */ | 119 | stringtable strt; /* hash table for strings */ |
118 | TValue l_registry; | 120 | TValue l_registry; |
119 | unsigned int seed; /* randomized seed for hashes */ | 121 | unsigned int seed; /* randomized seed for hashes */ |