aboutsummaryrefslogtreecommitdiff
path: root/lstate.h
diff options
context:
space:
mode:
authorRoberto Ierusalimschy <roberto@inf.puc-rio.br>2005-02-18 10:40:02 -0200
committerRoberto Ierusalimschy <roberto@inf.puc-rio.br>2005-02-18 10:40:02 -0200
commit7d45a5f48ff32a4e09a1734de23823943d6a6b28 (patch)
treede7bef1faf37d9b639928e5269e89d7112b5b6fa /lstate.h
parent73d764024451c24bc43b8e5102fe90974a86b7f4 (diff)
downloadlua-7d45a5f48ff32a4e09a1734de23823943d6a6b28.tar.gz
lua-7d45a5f48ff32a4e09a1734de23823943d6a6b28.tar.bz2
lua-7d45a5f48ff32a4e09a1734de23823943d6a6b28.zip
C functions and userdata also have environments
Diffstat (limited to 'lstate.h')
-rw-r--r--lstate.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/lstate.h b/lstate.h
index 2ba5a91d..995733d9 100644
--- a/lstate.h
+++ b/lstate.h
@@ -1,5 +1,5 @@
1/* 1/*
2** $Id: lstate.h,v 2.13 2005/01/18 17:18:09 roberto Exp roberto $ 2** $Id: lstate.h,v 2.14 2005/02/11 20:03:35 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*/
@@ -116,6 +116,7 @@ struct lua_State {
116 int hookcount; 116 int hookcount;
117 lua_Hook hook; 117 lua_Hook hook;
118 TValue _gt; /* table of globals */ 118 TValue _gt; /* table of globals */
119 TValue env; /* temporary place for environments */
119 GCObject *openupval; /* list of open upvalues in this stack */ 120 GCObject *openupval; /* list of open upvalues in this stack */
120 GCObject *gclist; 121 GCObject *gclist;
121 struct lua_longjmp *errorJmp; /* current error recover point */ 122 struct lua_longjmp *errorJmp; /* current error recover point */