diff options
author | Roberto Ierusalimschy <roberto@inf.puc-rio.br> | 2005-06-03 17:16:16 -0300 |
---|---|---|
committer | Roberto Ierusalimschy <roberto@inf.puc-rio.br> | 2005-06-03 17:16:16 -0300 |
commit | eca9fa02d2887d06cee5e2f742f7e3031ac76a51 (patch) | |
tree | d3ed46b827c28728ddc2a974391da76af6f990ec /lstate.c | |
parent | e33d7bae45f5b29f83f893ba16a7f78d28b77245 (diff) | |
download | lua-eca9fa02d2887d06cee5e2f742f7e3031ac76a51.tar.gz lua-eca9fa02d2887d06cee5e2f742f7e3031ac76a51.tar.bz2 lua-eca9fa02d2887d06cee5e2f742f7e3031ac76a51.zip |
small improvement
Diffstat (limited to 'lstate.c')
-rw-r--r-- | lstate.c | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -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 | ||
85 | static void preinit_state (lua_State *L, global_State *g) { | 85 | static 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; |