diff options
author | Roberto Ierusalimschy <roberto@inf.puc-rio.br> | 2002-08-06 12:32:22 -0300 |
---|---|---|
committer | Roberto Ierusalimschy <roberto@inf.puc-rio.br> | 2002-08-06 12:32:22 -0300 |
commit | a2fa48a570b01b2a2cd37f01799f08f693fc5892 (patch) | |
tree | b41fc7e88f7f941ae1589921f8d7c0ff57146f4d /lua.h | |
parent | 8b2b8790b5c419282f4fa0c7faa168379647b3b9 (diff) | |
download | lua-a2fa48a570b01b2a2cd37f01799f08f693fc5892.tar.gz lua-a2fa48a570b01b2a2cd37f01799f08f693fc5892.tar.bz2 lua-a2fa48a570b01b2a2cd37f01799f08f693fc5892.zip |
new (old?) error handling scheme
Diffstat (limited to 'lua.h')
-rw-r--r-- | lua.h | 5 |
1 files changed, 2 insertions, 3 deletions
@@ -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 | */ |
185 | LUA_API void lua_call (lua_State *L, int nargs, int nresults); | 185 | LUA_API void lua_call (lua_State *L, int nargs, int nresults); |
186 | LUA_API int lua_pcall (lua_State *L, int nargs, int nresults); | 186 | LUA_API int lua_pcall (lua_State *L, int nargs, int nresults, int errfunc); |
187 | LUA_API int lua_load (lua_State *L, lua_Chunkreader reader, void *data, | 187 | LUA_API int lua_load (lua_State *L, lua_Chunkreader reader, void *data, |
188 | const char *chunkname); | 188 | const char *chunkname); |
189 | LUA_API void lua_pcallreset (lua_State *L); | ||
190 | 189 | ||
191 | 190 | ||
192 | /* | 191 | /* |