From 7d45a5f48ff32a4e09a1734de23823943d6a6b28 Mon Sep 17 00:00:00 2001 From: Roberto Ierusalimschy Date: Fri, 18 Feb 2005 10:40:02 -0200 Subject: C functions and userdata also have environments --- lstate.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'lstate.h') diff --git a/lstate.h b/lstate.h index 2ba5a91d..995733d9 100644 --- a/lstate.h +++ b/lstate.h @@ -1,5 +1,5 @@ /* -** $Id: lstate.h,v 2.13 2005/01/18 17:18:09 roberto Exp roberto $ +** $Id: lstate.h,v 2.14 2005/02/11 20:03:35 roberto Exp roberto $ ** Global State ** See Copyright Notice in lua.h */ @@ -116,6 +116,7 @@ struct lua_State { int hookcount; lua_Hook hook; TValue _gt; /* table of globals */ + TValue env; /* temporary place for environments */ GCObject *openupval; /* list of open upvalues in this stack */ GCObject *gclist; struct lua_longjmp *errorJmp; /* current error recover point */ -- cgit v1.2.3-55-g6feb