aboutsummaryrefslogtreecommitdiff
path: root/lstate.c
diff options
context:
space:
mode:
authorRoberto Ierusalimschy <roberto@inf.puc-rio.br>2005-06-03 17:16:16 -0300
committerRoberto Ierusalimschy <roberto@inf.puc-rio.br>2005-06-03 17:16:16 -0300
commiteca9fa02d2887d06cee5e2f742f7e3031ac76a51 (patch)
treed3ed46b827c28728ddc2a974391da76af6f990ec /lstate.c
parente33d7bae45f5b29f83f893ba16a7f78d28b77245 (diff)
downloadlua-eca9fa02d2887d06cee5e2f742f7e3031ac76a51.tar.gz
lua-eca9fa02d2887d06cee5e2f742f7e3031ac76a51.tar.bz2
lua-eca9fa02d2887d06cee5e2f742f7e3031ac76a51.zip
small improvement
Diffstat (limited to 'lstate.c')
-rw-r--r--lstate.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/lstate.c b/lstate.c
index 8bcd14fe..36f43ade 100644
--- a/lstate.c
+++ b/lstate.c
@@ -1,5 +1,5 @@
1/* 1/*
2** $Id: lstate.c,v 2.30 2005/04/05 15:57:59 roberto Exp roberto $ 2** $Id: lstate.c,v 2.31 2005/05/05 15:34:03 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*/
@@ -83,7 +83,7 @@ static void f_luaopen (lua_State *L, void *ud) {
83 83
84 84
85static void preinit_state (lua_State *L, global_State *g) { 85static void preinit_state (lua_State *L, global_State *g) {
86 L->l_G = g; 86 G(L) = g;
87 L->stack = NULL; 87 L->stack = NULL;
88 L->stacksize = 0; 88 L->stacksize = 0;
89 L->errorJmp = NULL; 89 L->errorJmp = NULL;