aboutsummaryrefslogtreecommitdiff
path: root/lstate.h
diff options
context:
space:
mode:
authorRoberto Ierusalimschy <roberto@inf.puc-rio.br>2009-12-22 13:32:50 -0200
committerRoberto Ierusalimschy <roberto@inf.puc-rio.br>2009-12-22 13:32:50 -0200
commitf84b575cfa52dc832751846aa0b4c8ff437d3ca3 (patch)
tree246ef484b08d132d006c16a6c8cbe55e61c3bfce /lstate.h
parent3cb343efd644fb771b6d8193406afd49527dc1ec (diff)
downloadlua-f84b575cfa52dc832751846aa0b4c8ff437d3ca3.tar.gz
lua-f84b575cfa52dc832751846aa0b4c8ff437d3ca3.tar.bz2
lua-f84b575cfa52dc832751846aa0b4c8ff437d3ca3.zip
no more pseudoindex LUA_GLOBALSINDEX; global table now accessible
through registry
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 45c95ea6..b9a96b72 100644
--- a/lstate.h
+++ b/lstate.h
@@ -1,5 +1,5 @@
1/* 1/*
2** $Id: lstate.h,v 2.50 2009/11/26 11:39:20 roberto Exp roberto $ 2** $Id: lstate.h,v 2.51 2009/12/11 13:39:34 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*/
@@ -138,7 +138,7 @@ typedef struct global_State {
138 int gcstepmul; /* GC `granularity' */ 138 int gcstepmul; /* GC `granularity' */
139 lua_CFunction panic; /* to be called in unprotected errors */ 139 lua_CFunction panic; /* to be called in unprotected errors */
140 TValue l_registry; 140 TValue l_registry;
141 TValue l_gt; /* table of globals */ 141 struct Table *l_gt; /* table of globals */
142 struct lua_State *mainthread; 142 struct lua_State *mainthread;
143 UpVal uvhead; /* head of double-linked list of all open upvalues */ 143 UpVal uvhead; /* head of double-linked list of all open upvalues */
144 const lua_Number *version; /* pointer to version number */ 144 const lua_Number *version; /* pointer to version number */