diff options
Diffstat (limited to 'lstate.c')
| -rw-r--r-- | lstate.c | 5 |
1 files changed, 2 insertions, 3 deletions
| @@ -1,5 +1,5 @@ | |||
| 1 | /* | 1 | /* |
| 2 | ** $Id: lstate.c,v 1.71 2001/10/31 19:58:11 roberto Exp $ | 2 | ** $Id: lstate.c,v 1.72 2001/11/06 21:40:51 roberto Exp $ |
| 3 | ** Global State | 3 | ** Global State |
| 4 | ** See Copyright Notice in lua.h | 4 | ** See Copyright Notice in lua.h |
| 5 | */ | 5 | */ |
| @@ -7,7 +7,6 @@ | |||
| 7 | 7 | ||
| 8 | #include <stdio.h> | 8 | #include <stdio.h> |
| 9 | 9 | ||
| 10 | #define LUA_PRIVATE | ||
| 11 | #include "lua.h" | 10 | #include "lua.h" |
| 12 | 11 | ||
| 13 | #include "ldo.h" | 12 | #include "ldo.h" |
| @@ -120,7 +119,7 @@ static void close_state (lua_State *L, lua_State *OL) { | |||
| 120 | lua_assert(G(L)->roottable == NULL); | 119 | lua_assert(G(L)->roottable == NULL); |
| 121 | luaS_freeall(L); | 120 | luaS_freeall(L); |
| 122 | luaM_freearray(L, G(L)->TMtable, G(L)->sizeTM, struct TM); | 121 | luaM_freearray(L, G(L)->TMtable, G(L)->sizeTM, struct TM); |
| 123 | luaM_freearray(L, G(L)->Mbuffer, G(L)->Mbuffsize, l_char); | 122 | luaM_freearray(L, G(L)->Mbuffer, G(L)->Mbuffsize, char); |
| 124 | luaM_freelem(NULL, L->_G); | 123 | luaM_freelem(NULL, L->_G); |
| 125 | } | 124 | } |
| 126 | luaM_freearray(OL, L->stack, L->stacksize, TObject); | 125 | luaM_freearray(OL, L->stack, L->stacksize, TObject); |
