diff options
| author | Roberto Ierusalimschy <roberto@inf.puc-rio.br> | 2002-05-01 17:48:12 -0300 |
|---|---|---|
| committer | Roberto Ierusalimschy <roberto@inf.puc-rio.br> | 2002-05-01 17:48:12 -0300 |
| commit | 751cd867d3e0338279fa6f3390c8b7ddc0108659 (patch) | |
| tree | 726f6f3cd49109382b2c0d7ee6a1e0fea740afbd /ldo.h | |
| parent | b36b2a061c88be22e36900146cbcad39bab07f5d (diff) | |
| download | lua-751cd867d3e0338279fa6f3390c8b7ddc0108659.tar.gz lua-751cd867d3e0338279fa6f3390c8b7ddc0108659.tar.bz2 lua-751cd867d3e0338279fa6f3390c8b7ddc0108659.zip | |
new way to handle errors
Diffstat (limited to 'ldo.h')
| -rw-r--r-- | ldo.h | 5 |
1 files changed, 3 insertions, 2 deletions
| @@ -1,5 +1,5 @@ | |||
| 1 | /* | 1 | /* |
| 2 | ** $Id: ldo.h,v 1.42 2002/03/25 17:47:14 roberto Exp roberto $ | 2 | ** $Id: ldo.h,v 1.43 2002/04/22 14:40:50 roberto Exp roberto $ |
| 3 | ** Stack and Call structure of Lua | 3 | ** Stack and Call structure of Lua |
| 4 | ** See Copyright Notice in lua.h | 4 | ** See Copyright Notice in lua.h |
| 5 | */ | 5 | */ |
| @@ -42,8 +42,9 @@ void luaD_reallocstack (lua_State *L, int newsize); | |||
| 42 | void luaD_growstack (lua_State *L, int n); | 42 | void luaD_growstack (lua_State *L, int n); |
| 43 | 43 | ||
| 44 | void luaD_error (lua_State *L, const char *s, int errcode); | 44 | void luaD_error (lua_State *L, const char *s, int errcode); |
| 45 | void luaD_errorobj (lua_State *L, const TObject *s, int errcode); | ||
| 45 | void luaD_runerror (lua_State *L, const char *s); | 46 | void luaD_runerror (lua_State *L, const char *s); |
| 46 | int luaD_runprotected (lua_State *L, Pfunc f, const TObject *err, void *ud); | 47 | int luaD_runprotected (lua_State *L, Pfunc f, TObject *ud); |
| 47 | 48 | ||
| 48 | 49 | ||
| 49 | #endif | 50 | #endif |
