diff options
author | Roberto Ierusalimschy <roberto@inf.puc-rio.br> | 2001-11-28 18:13:13 -0200 |
---|---|---|
committer | Roberto Ierusalimschy <roberto@inf.puc-rio.br> | 2001-11-28 18:13:13 -0200 |
commit | 72659a06050632da1a9b4c492302be46ac283f6b (patch) | |
tree | bac06b4ea523ba5443564d0869e392180d4b7b77 /lmem.c | |
parent | dfaf8c5291fa8aef5bedbfa375853475364ac76e (diff) | |
download | lua-github-72659a06050632da1a9b4c492302be46ac283f6b.tar.gz |
no more explicit support for wide-chars; too much troble...
Diffstat (limited to 'lmem.c')
-rw-r--r-- | lmem.c | 7 |
1 files changed, 3 insertions, 4 deletions
@@ -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 <stdlib.h> -#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) { |