From 22ef84b6c8d980eb869f414610f8ff5f25568ca7 Mon Sep 17 00:00:00 2001 From: Roberto Ierusalimschy Date: Sat, 13 Mar 2010 12:55:42 -0300 Subject: '_ENV' name permanently stored in global state for easier access --- lstate.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'lstate.h') diff --git a/lstate.h b/lstate.h index a6ea5546..eb0068fe 100644 --- a/lstate.h +++ b/lstate.h @@ -1,5 +1,5 @@ /* -** $Id: lstate.h,v 2.52 2009/12/22 15:32:50 roberto Exp roberto $ +** $Id: lstate.h,v 2.53 2010/02/09 11:55:37 roberto Exp roberto $ ** Global State ** See Copyright Notice in lua.h */ @@ -144,6 +144,7 @@ typedef struct global_State { const lua_Number *version; /* pointer to version number */ struct Table *mt[NUM_TAGS]; /* metatables for basic types */ TString *tmname[TM_N]; /* array with tag-method names */ + TString *envn; /* environment variable name */ } global_State; -- cgit v1.2.3-55-g6feb