diff options
| author | Roberto Ierusalimschy <roberto@inf.puc-rio.br> | 2004-06-02 16:09:36 -0300 |
|---|---|---|
| committer | Roberto Ierusalimschy <roberto@inf.puc-rio.br> | 2004-06-02 16:09:36 -0300 |
| commit | 118e471fa0fd9db1c3a4b966a4312f65d4aa33a7 (patch) | |
| tree | 1533a5ace50fbe28ef6d784399cf41dfb6501dc1 | |
| parent | ba9878fcb8ea64bf582c561ed0f472fd6fd0d850 (diff) | |
| download | lua-118e471fa0fd9db1c3a4b966a4312f65d4aa33a7.tar.gz lua-118e471fa0fd9db1c3a4b966a4312f65d4aa33a7.tar.bz2 lua-118e471fa0fd9db1c3a4b966a4312f65d4aa33a7.zip | |
details
| -rw-r--r-- | lstate.c | 5 |
1 files changed, 3 insertions, 2 deletions
| @@ -1,5 +1,5 @@ | |||
| 1 | /* | 1 | /* |
| 2 | ** $Id: lstate.c,v 2.6 2004/04/30 20:13:38 roberto Exp roberto $ | 2 | ** $Id: lstate.c,v 2.7 2004/05/31 18:51:50 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 | */ |
| @@ -189,7 +189,8 @@ LUA_API lua_State *lua_newstate (lua_Alloc f, void *ud) { | |||
| 189 | close_state(L); | 189 | close_state(L); |
| 190 | L = NULL; | 190 | L = NULL; |
| 191 | } | 191 | } |
| 192 | lua_userstateopen(L); | 192 | else |
| 193 | lua_userstateopen(L); | ||
| 193 | return L; | 194 | return L; |
| 194 | } | 195 | } |
| 195 | 196 | ||
