aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRoberto Ierusalimschy <roberto@inf.puc-rio.br>2002-08-05 11:51:47 -0300
committerRoberto Ierusalimschy <roberto@inf.puc-rio.br>2002-08-05 11:51:47 -0300
commit4a4f2437952e0968c010ea3424c3c1c3df2188c1 (patch)
tree260df6144ce220c83901f7cf6d1b9809bd151fe7
parent0417a4bb0b3a2a51b251eddbc5860478e316eb53 (diff)
downloadlua-4a4f2437952e0968c010ea3424c3c1c3df2188c1.tar.gz
lua-4a4f2437952e0968c010ea3424c3c1c3df2188c1.tar.bz2
lua-4a4f2437952e0968c010ea3424c3c1c3df2188c1.zip
new API for error handling
-rw-r--r--lua.h6
1 files 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 @@
1/* 1/*
2** $Id: lua.h,v 1.146 2002/07/09 14:58:28 roberto Exp roberto $ 2** $Id: lua.h,v 1.147 2002/07/17 16:25:13 roberto Exp roberto $
3** Lua - An Extensible Extension Language 3** Lua - An Extensible Extension Language
4** Tecgraf: Computer Graphics Technology Group, PUC-Rio, Brazil 4** Tecgraf: Computer Graphics Technology Group, PUC-Rio, Brazil
5** http://www.lua.org mailto:info@lua.org 5** http://www.lua.org mailto:info@lua.org
@@ -29,9 +29,6 @@
29#define LUA_MULTRET (-1) 29#define LUA_MULTRET (-1)
30 30
31 31
32/* index for a traceback function in the registry */
33#define LUA_TRACEBACK "_TRACEBACK"
34
35/* 32/*
36** pseudo-indices 33** pseudo-indices
37*/ 34*/
@@ -189,6 +186,7 @@ LUA_API void lua_call (lua_State *L, int nargs, int nresults);
189LUA_API int lua_pcall (lua_State *L, int nargs, int nresults); 186LUA_API int lua_pcall (lua_State *L, int nargs, int nresults);
190LUA_API int lua_load (lua_State *L, lua_Chunkreader reader, void *data, 187LUA_API int lua_load (lua_State *L, lua_Chunkreader reader, void *data,
191 const char *chunkname); 188 const char *chunkname);
189LUA_API void lua_pcallreset (lua_State *L);
192 190
193 191
194/* 192/*