aboutsummaryrefslogtreecommitdiff
path: root/ldo.h
diff options
context:
space:
mode:
authorRoberto Ierusalimschy <roberto@inf.puc-rio.br>2002-05-01 17:48:12 -0300
committerRoberto Ierusalimschy <roberto@inf.puc-rio.br>2002-05-01 17:48:12 -0300
commit751cd867d3e0338279fa6f3390c8b7ddc0108659 (patch)
tree726f6f3cd49109382b2c0d7ee6a1e0fea740afbd /ldo.h
parentb36b2a061c88be22e36900146cbcad39bab07f5d (diff)
downloadlua-751cd867d3e0338279fa6f3390c8b7ddc0108659.tar.gz
lua-751cd867d3e0338279fa6f3390c8b7ddc0108659.tar.bz2
lua-751cd867d3e0338279fa6f3390c8b7ddc0108659.zip
new way to handle errors
Diffstat (limited to '')
-rw-r--r--ldo.h5
1 files changed, 3 insertions, 2 deletions
diff --git a/ldo.h b/ldo.h
index 5464e544..0c4dfbca 100644
--- a/ldo.h
+++ b/ldo.h
@@ -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);
42void luaD_growstack (lua_State *L, int n); 42void luaD_growstack (lua_State *L, int n);
43 43
44void luaD_error (lua_State *L, const char *s, int errcode); 44void luaD_error (lua_State *L, const char *s, int errcode);
45void luaD_errorobj (lua_State *L, const TObject *s, int errcode);
45void luaD_runerror (lua_State *L, const char *s); 46void luaD_runerror (lua_State *L, const char *s);
46int luaD_runprotected (lua_State *L, Pfunc f, const TObject *err, void *ud); 47int luaD_runprotected (lua_State *L, Pfunc f, TObject *ud);
47 48
48 49
49#endif 50#endif