commit 4a4f2437952e0968c010ea3424c3c1c3df2188c1
parent 0417a4bb0b3a2a51b251eddbc5860478e316eb53
Author: Roberto Ierusalimschy <roberto@inf.puc-rio.br>
Date: Mon, 5 Aug 2002 11:51:25 -0300
new API for error handling
Diffstat:
1 file changed, 2 insertions(+), 4 deletions(-)
diff --git 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);
/*