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.111 2003/07/16 20:49:02 roberto Exp roberto $ | 2 | ** $Id: lstate.h,v 1.112 2003/10/02 20:31:17 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 | */ |
@@ -100,6 +100,8 @@ typedef struct global_State { | |||
100 | stringtable strt; /* hash table for strings */ | 100 | stringtable strt; /* hash table for strings */ |
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 *gray; /* list of gray objects */ | ||
104 | GCObject *weak; /* list of weak tables (to be cleared) */ | ||
103 | GCObject *tmudata; /* list of userdata to be GC */ | 105 | GCObject *tmudata; /* list of userdata to be GC */ |
104 | lua_Alloc realloc; /* function to reallocate memory */ | 106 | lua_Alloc realloc; /* function to reallocate memory */ |
105 | void *ud; /* auxiliary data to `realloc' */ | 107 | void *ud; /* auxiliary data to `realloc' */ |