From 1dbe708aa84f3a1e51daf8d7e2f714e2b02f554b Mon Sep 17 00:00:00 2001 From: Roberto Ierusalimschy Date: Tue, 18 Jun 2002 12:19:27 -0300 Subject: new protocol for error handling --- ldebug.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'ldebug.h') diff --git a/ldebug.h b/ldebug.h index ef0a046f..cb168743 100644 --- a/ldebug.h +++ b/ldebug.h @@ -1,5 +1,5 @@ /* -** $Id: ldebug.h,v 1.20 2002/05/02 13:06:20 roberto Exp roberto $ +** $Id: ldebug.h,v 1.21 2002/05/15 18:57:44 roberto Exp roberto $ ** Auxiliary functions from Debug Interface module ** See Copyright Notice in lua.h */ @@ -21,6 +21,7 @@ void luaG_concaterror (lua_State *L, StkId p1, StkId p2); void luaG_aritherror (lua_State *L, StkId p1, const TObject *p2); void luaG_ordererror (lua_State *L, const TObject *p1, const TObject *p2); void luaG_runerror (lua_State *L, const char *fmt, ...); +void luaG_errormsg (lua_State *L, int internal); int luaG_checkcode (const Proto *pt); -- cgit v1.2.3-55-g6feb