diff options
| author | Roberto Ierusalimschy <roberto@inf.puc-rio.br> | 2002-08-05 11:51:47 -0300 |
|---|---|---|
| committer | Roberto Ierusalimschy <roberto@inf.puc-rio.br> | 2002-08-05 11:51:47 -0300 |
| commit | 4a4f2437952e0968c010ea3424c3c1c3df2188c1 (patch) | |
| tree | 260df6144ce220c83901f7cf6d1b9809bd151fe7 | |
| parent | 0417a4bb0b3a2a51b251eddbc5860478e316eb53 (diff) | |
| download | lua-4a4f2437952e0968c010ea3424c3c1c3df2188c1.tar.gz lua-4a4f2437952e0968c010ea3424c3c1c3df2188c1.tar.bz2 lua-4a4f2437952e0968c010ea3424c3c1c3df2188c1.zip | |
new API for error handling
| -rw-r--r-- | lua.h | 6 |
1 files changed, 2 insertions, 4 deletions
| @@ -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); | |||
| 189 | 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); |
| 190 | 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, |
| 191 | const char *chunkname); | 188 | const char *chunkname); |
| 189 | LUA_API void lua_pcallreset (lua_State *L); | ||
| 192 | 190 | ||
| 193 | 191 | ||
| 194 | /* | 192 | /* |
