aboutsummaryrefslogtreecommitdiff
path: root/ldo.h
diff options
context:
space:
mode:
authorRoberto Ierusalimschy <roberto@inf.puc-rio.br>2002-06-18 12:19:27 -0300
committerRoberto Ierusalimschy <roberto@inf.puc-rio.br>2002-06-18 12:19:27 -0300
commit1dbe708aa84f3a1e51daf8d7e2f714e2b02f554b (patch)
treee845de9ee24b94362146e38410ae0670df18526b /ldo.h
parent8f080fd683d63b0cd4b38380f6a5bdae5d6e2584 (diff)
downloadlua-1dbe708aa84f3a1e51daf8d7e2f714e2b02f554b.tar.gz
lua-1dbe708aa84f3a1e51daf8d7e2f714e2b02f554b.tar.bz2
lua-1dbe708aa84f3a1e51daf8d7e2f714e2b02f554b.zip
new protocol for error handling
Diffstat (limited to '')
-rw-r--r--ldo.h7
1 files changed, 3 insertions, 4 deletions
diff --git a/ldo.h b/ldo.h
index 914eddaa..4ff39092 100644
--- a/ldo.h
+++ b/ldo.h
@@ -1,5 +1,5 @@
1/* 1/*
2** $Id: ldo.h,v 1.44 2002/05/01 20:40:42 roberto Exp roberto $ 2** $Id: ldo.h,v 1.45 2002/05/15 18:57:44 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*/
@@ -35,14 +35,13 @@ int luaD_protectedparser (lua_State *L, ZIO *z, int bin);
35void luaD_lineHook (lua_State *L, int line); 35void luaD_lineHook (lua_State *L, int line);
36StkId luaD_precall (lua_State *L, StkId func); 36StkId luaD_precall (lua_State *L, StkId func);
37void luaD_call (lua_State *L, StkId func, int nResults); 37void luaD_call (lua_State *L, StkId func, int nResults);
38int luaD_pcall (lua_State *L, int nargs, int nresults, const TObject *err); 38int luaD_pcall (lua_State *L, int nargs, int nresults);
39void luaD_poscall (lua_State *L, int wanted, StkId firstResult); 39void luaD_poscall (lua_State *L, int wanted, StkId firstResult);
40void luaD_reallocCI (lua_State *L, int newsize); 40void luaD_reallocCI (lua_State *L, int newsize);
41void luaD_reallocstack (lua_State *L, int newsize); 41void 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_throw (lua_State *L, int errcode);
45void luaD_errorobj (lua_State *L, const TObject *s, int errcode);
46int luaD_runprotected (lua_State *L, Pfunc f, TObject *ud); 45int luaD_runprotected (lua_State *L, Pfunc f, TObject *ud);
47 46
48 47