From 751cd867d3e0338279fa6f3390c8b7ddc0108659 Mon Sep 17 00:00:00 2001 From: Roberto Ierusalimschy Date: Wed, 1 May 2002 17:48:12 -0300 Subject: new way to handle errors --- lmem.h | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'lmem.h') diff --git a/lmem.h b/lmem.h index bb0ba5a9..1c896571 100644 --- a/lmem.h +++ b/lmem.h @@ -1,5 +1,5 @@ /* -** $Id: lmem.h,v 1.24 2001/09/07 17:30:16 roberto Exp $ +** $Id: lmem.h,v 1.25 2001/11/28 20:13:13 roberto Exp roberto $ ** Interface to Memory Manager ** See Copyright Notice in lua.h */ @@ -13,6 +13,9 @@ #include "llimits.h" #include "lua.h" +#define MEMERRMSG "not enough memory" + + void *luaM_realloc (lua_State *L, void *oldblock, lu_mem oldsize, lu_mem size); void *luaM_growaux (lua_State *L, void *block, int *size, int size_elem, -- cgit v1.2.3-55-g6feb