aboutsummaryrefslogtreecommitdiff
path: root/lua.h
diff options
context:
space:
mode:
authorRoberto Ierusalimschy <roberto@inf.puc-rio.br>2002-08-06 12:32:22 -0300
committerRoberto Ierusalimschy <roberto@inf.puc-rio.br>2002-08-06 12:32:22 -0300
commita2fa48a570b01b2a2cd37f01799f08f693fc5892 (patch)
treeb41fc7e88f7f941ae1589921f8d7c0ff57146f4d /lua.h
parent8b2b8790b5c419282f4fa0c7faa168379647b3b9 (diff)
downloadlua-a2fa48a570b01b2a2cd37f01799f08f693fc5892.tar.gz
lua-a2fa48a570b01b2a2cd37f01799f08f693fc5892.tar.bz2
lua-a2fa48a570b01b2a2cd37f01799f08f693fc5892.zip
new (old?) error handling scheme
Diffstat (limited to 'lua.h')
-rw-r--r--lua.h5
1 files changed, 2 insertions, 3 deletions
diff --git a/lua.h b/lua.h
index 8407a6ed..2bc32fa6 100644
--- a/lua.h
+++ b/lua.h
@@ -1,5 +1,5 @@
1/* 1/*
2** $Id: lua.h,v 1.147 2002/07/17 16:25:13 roberto Exp roberto $ 2** $Id: lua.h,v 1.148 2002/08/05 14:51:47 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
@@ -183,10 +183,9 @@ LUA_API int lua_setglobals (lua_State *L, int level);
183** `load' and `call' functions (load and run Lua code) 183** `load' and `call' functions (load and run Lua code)
184*/ 184*/
185LUA_API void lua_call (lua_State *L, int nargs, int nresults); 185LUA_API void lua_call (lua_State *L, int nargs, int nresults);
186LUA_API int lua_pcall (lua_State *L, int nargs, int nresults); 186LUA_API int lua_pcall (lua_State *L, int nargs, int nresults, int errfunc);
187LUA_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,
188 const char *chunkname); 188 const char *chunkname);
189LUA_API void lua_pcallreset (lua_State *L);
190 189
191 190
192/* 191/*