From 938092489b9df19c9da7481c68d74dd7e0104949 Mon Sep 17 00:00:00 2001 From: Roberto Ierusalimschy Date: Tue, 19 Mar 2002 09:45:25 -0300 Subject: erroneous objects may not live in the stack --- ldebug.h | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'ldebug.h') diff --git a/ldebug.h b/ldebug.h index 30c2c3bc..18afa5ab 100644 --- a/ldebug.h +++ b/ldebug.h @@ -1,5 +1,5 @@ /* -** $Id: ldebug.h,v 1.15 2001/06/28 19:58:57 roberto Exp $ +** $Id: ldebug.h,v 1.16 2001/11/28 20:13:13 roberto Exp roberto $ ** Auxiliary functions from Debug Interface module ** See Copyright Notice in lua.h */ @@ -12,9 +12,9 @@ #include "luadebug.h" -void luaG_typeerror (lua_State *L, StkId o, const char *op); +void luaG_typeerror (lua_State *L, const TObject *o, const char *opname); void luaG_concaterror (lua_State *L, StkId p1, StkId p2); -void luaG_aritherror (lua_State *L, StkId p1, TObject *p2); +void luaG_aritherror (lua_State *L, StkId p1, const TObject *p2); int luaG_getline (int *lineinfo, int pc, int refline, int *refi); void luaG_ordererror (lua_State *L, const TObject *p1, const TObject *p2); int luaG_checkcode (const Proto *pt); -- cgit v1.2.3-55-g6feb