aboutsummaryrefslogtreecommitdiff
path: root/lstate.h
diff options
context:
space:
mode:
authorRoberto Ierusalimschy <roberto@inf.puc-rio.br>2005-01-18 15:18:09 -0200
committerRoberto Ierusalimschy <roberto@inf.puc-rio.br>2005-01-18 15:18:09 -0200
commit334ba8132bd0471ffe2a9964b577d3ae89ec490a (patch)
tree3e0dde3bca4f1f51dad42d8c85ad9cb624aab1fa /lstate.h
parentac71a0891d8571816ce32b5c2c1fd97942decf71 (diff)
downloadlua-334ba8132bd0471ffe2a9964b577d3ae89ec490a.tar.gz
lua-334ba8132bd0471ffe2a9964b577d3ae89ec490a.tar.bz2
lua-334ba8132bd0471ffe2a9964b577d3ae89ec490a.zip
cleaner way to remark open upvalues
Diffstat (limited to 'lstate.h')
-rw-r--r--lstate.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/lstate.h b/lstate.h
index 1bb887c4..6c6d32e4 100644
--- a/lstate.h
+++ b/lstate.h
@@ -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