new API for error handling

This commit is contained in:
Roberto Ierusalimschy 2002-08-05 11:51:47 -03:00
parent 0417a4bb0b
commit 4a4f243795
1 changed files with 2 additions and 4 deletions

6
lua.h
View File

@ -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);
/*