diff options
Diffstat (limited to 'lstate.h')
-rw-r--r-- | lstate.h | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -1,5 +1,5 @@ | |||
1 | /* | 1 | /* |
2 | ** $Id: lstate.h,v 2.11 2005/01/05 18:20:51 roberto Exp roberto $ | 2 | ** $Id: lstate.h,v 2.12 2005/01/14 14:19:42 roberto Exp $ |
3 | ** Global State | 3 | ** Global State |
4 | ** See Copyright Notice in lua.h | 4 | ** See Copyright Notice in lua.h |
5 | */ | 5 | */ |
@@ -72,7 +72,6 @@ typedef struct global_State { | |||
72 | lu_byte currentwhite; | 72 | lu_byte currentwhite; |
73 | lu_byte gcstate; /* state of garbage collector */ | 73 | lu_byte gcstate; /* state of garbage collector */ |
74 | GCObject *rootgc; /* list of all collectable objects */ | 74 | GCObject *rootgc; /* list of all collectable objects */ |
75 | GCObject *firstudata; /* udata go to the end of `rootgc' */ | ||
76 | GCObject **sweepgc; /* position of sweep in `rootgc' */ | 75 | GCObject **sweepgc; /* position of sweep in `rootgc' */ |
77 | int sweepstrgc; /* position of sweep in `strt' */ | 76 | int sweepstrgc; /* position of sweep in `strt' */ |
78 | GCObject *gray; /* list of gray objects */ | 77 | GCObject *gray; /* list of gray objects */ |
@@ -89,6 +88,7 @@ typedef struct global_State { | |||
89 | lua_CFunction panic; /* to be called in unprotected errors */ | 88 | lua_CFunction panic; /* to be called in unprotected errors */ |
90 | TValue _registry; | 89 | TValue _registry; |
91 | struct lua_State *mainthread; | 90 | struct lua_State *mainthread; |
91 | UpVal uvhead; /* head of double-linked list of all open upvalues */ | ||
92 | TString *tmname[TM_N]; /* array with tag-method names */ | 92 | TString *tmname[TM_N]; /* array with tag-method names */ |
93 | } global_State; | 93 | } global_State; |
94 | 94 | ||