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... --- lmem.c | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) (limited to 'lmem.c') diff --git a/lmem.c b/lmem.c index 32318815..33181016 100644 --- a/lmem.c +++ b/lmem.c @@ -1,5 +1,5 @@ /* -** $Id: lmem.c,v 1.50 2001/08/31 19:46:07 roberto Exp $ +** $Id: lmem.c,v 1.51 2001/10/25 19:13:33 roberto Exp $ ** Interface to Memory Manager ** See Copyright Notice in lua.h */ @@ -7,7 +7,6 @@ #include -#define LUA_PRIVATE #include "lua.h" #include "ldo.h" @@ -27,7 +26,7 @@ void *luaM_growaux (lua_State *L, void *block, int *size, int size_elems, - int limit, const l_char *errormsg) { + int limit, const char *errormsg) { void *newblock; int newsize = (*size)*2; if (newsize < MINSIZEARRAY) @@ -54,7 +53,7 @@ void *luaM_realloc (lua_State *L, void *block, lu_mem oldsize, lu_mem size) { block = NULL; } else if (size >= MAX_SIZET) - luaD_error(L, l_s("memory allocation error: block too big")); + luaD_error(L, "memory allocation error: block too big"); else { block = l_realloc(block, oldsize, size); if (block == NULL) { -- cgit v1.2.3-55-g6feb