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 1.110 2003/04/28 19:26:16 roberto Exp roberto $ | 2 | ** $Id: lstate.h,v 1.111 2003/07/16 20:49:02 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 | */ |
@@ -101,6 +101,8 @@ typedef struct global_State { | |||
101 | GCObject *rootgc; /* list of (almost) all collectable objects */ | 101 | GCObject *rootgc; /* list of (almost) all collectable objects */ |
102 | GCObject *rootudata; /* (separated) list of all userdata */ | 102 | GCObject *rootudata; /* (separated) list of all userdata */ |
103 | GCObject *tmudata; /* list of userdata to be GC */ | 103 | GCObject *tmudata; /* list of userdata to be GC */ |
104 | lua_Alloc realloc; /* function to reallocate memory */ | ||
105 | void *ud; /* auxiliary data to `realloc' */ | ||
104 | Mbuffer buff; /* temporary buffer for string concatentation */ | 106 | Mbuffer buff; /* temporary buffer for string concatentation */ |
105 | lu_mem GCthreshold; | 107 | lu_mem GCthreshold; |
106 | lu_mem nblocks; /* number of `bytes' currently allocated */ | 108 | lu_mem nblocks; /* number of `bytes' currently allocated */ |