From 72659a06050632da1a9b4c492302be46ac283f6b Mon Sep 17 00:00:00 2001 From: Roberto Ierusalimschy Date: Wed, 28 Nov 2001 18:13:13 -0200 Subject: no more explicit support for wide-chars; too much troble... --- lstate.c | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) (limited to 'lstate.c') diff --git a/lstate.c b/lstate.c index 40b3dc27..a9130455 100644 --- a/lstate.c +++ b/lstate.c @@ -1,5 +1,5 @@ /* -** $Id: lstate.c,v 1.71 2001/10/31 19:58:11 roberto Exp $ +** $Id: lstate.c,v 1.72 2001/11/06 21:40:51 roberto Exp $ ** Global State ** See Copyright Notice in lua.h */ @@ -7,7 +7,6 @@ #include -#define LUA_PRIVATE #include "lua.h" #include "ldo.h" @@ -120,7 +119,7 @@ static void close_state (lua_State *L, lua_State *OL) { lua_assert(G(L)->roottable == NULL); luaS_freeall(L); luaM_freearray(L, G(L)->TMtable, G(L)->sizeTM, struct TM); - luaM_freearray(L, G(L)->Mbuffer, G(L)->Mbuffsize, l_char); + luaM_freearray(L, G(L)->Mbuffer, G(L)->Mbuffsize, char); luaM_freelem(NULL, L->_G); } luaM_freearray(OL, L->stack, L->stacksize, TObject); -- cgit v1.2.3-55-g6feb