From 4a4f2437952e0968c010ea3424c3c1c3df2188c1 Mon Sep 17 00:00:00 2001 From: Roberto Ierusalimschy Date: Mon, 5 Aug 2002 11:51:47 -0300 Subject: [PATCH] new API for error handling --- lua.h | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/lua.h b/lua.h index e7953e4c..8407a6ed 100644 --- a/lua.h +++ b/lua.h @@ -1,5 +1,5 @@ /* -** $Id: lua.h,v 1.146 2002/07/09 14:58:28 roberto Exp roberto $ +** $Id: lua.h,v 1.147 2002/07/17 16:25:13 roberto Exp roberto $ ** Lua - An Extensible Extension Language ** Tecgraf: Computer Graphics Technology Group, PUC-Rio, Brazil ** http://www.lua.org mailto:info@lua.org @@ -29,9 +29,6 @@ #define LUA_MULTRET (-1) -/* index for a traceback function in the registry */ -#define LUA_TRACEBACK "_TRACEBACK" - /* ** pseudo-indices */ @@ -189,6 +186,7 @@ LUA_API void lua_call (lua_State *L, int nargs, int nresults); LUA_API int lua_pcall (lua_State *L, int nargs, int nresults); LUA_API int lua_load (lua_State *L, lua_Chunkreader reader, void *data, const char *chunkname); +LUA_API void lua_pcallreset (lua_State *L); /*