diff options
author | Roberto Ierusalimschy <roberto@inf.puc-rio.br> | 2002-12-04 15:29:32 -0200 |
---|---|---|
committer | Roberto Ierusalimschy <roberto@inf.puc-rio.br> | 2002-12-04 15:29:32 -0200 |
commit | 0bb8eb51517ef63c65fb986d711c3163ad0be38f (patch) | |
tree | 88c0badaddb58e14a6c4e795ab106f787f81843a /ldo.h | |
parent | 38da8c0d7d69da5eed2e98a0871b86113869b858 (diff) | |
download | lua-0bb8eb51517ef63c65fb986d711c3163ad0be38f.tar.gz lua-0bb8eb51517ef63c65fb986d711c3163ad0be38f.tar.bz2 lua-0bb8eb51517ef63c65fb986d711c3163ad0be38f.zip |
new function `lua_cpcall'
Diffstat (limited to '')
-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.54 2002/11/21 17:19:11 roberto Exp roberto $ | 2 | ** $Id: ldo.h,v 1.55 2002/11/21 17:41:25 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 | */ |
@@ -46,7 +46,8 @@ int luaD_protectedparser (lua_State *L, ZIO *z, int bin); | |||
46 | void luaD_callhook (lua_State *L, int event, int line); | 46 | void luaD_callhook (lua_State *L, int event, int line); |
47 | StkId luaD_precall (lua_State *L, StkId func); | 47 | StkId luaD_precall (lua_State *L, StkId func); |
48 | void luaD_call (lua_State *L, StkId func, int nResults); | 48 | void luaD_call (lua_State *L, StkId func, int nResults); |
49 | int luaD_pcall (lua_State *L, int nargs, int nresults, ptrdiff_t errfunc); | 49 | int luaD_pcall (lua_State *L, Pfunc func, void *u, |
50 | ptrdiff_t oldtop, ptrdiff_t ef); | ||
50 | void luaD_poscall (lua_State *L, int wanted, StkId firstResult); | 51 | void luaD_poscall (lua_State *L, int wanted, StkId firstResult); |
51 | void luaD_reallocCI (lua_State *L, int newsize); | 52 | void luaD_reallocCI (lua_State *L, int newsize); |
52 | void luaD_reallocstack (lua_State *L, int newsize); | 53 | void luaD_reallocstack (lua_State *L, int newsize); |