From 0bb8eb51517ef63c65fb986d711c3163ad0be38f Mon Sep 17 00:00:00 2001 From: Roberto Ierusalimschy Date: Wed, 4 Dec 2002 15:29:32 -0200 Subject: new function `lua_cpcall' --- ldo.h | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'ldo.h') diff --git a/ldo.h b/ldo.h index aa568869..929ee8ed 100644 --- a/ldo.h +++ b/ldo.h @@ -1,5 +1,5 @@ /* -** $Id: ldo.h,v 1.54 2002/11/21 17:19:11 roberto Exp roberto $ +** $Id: ldo.h,v 1.55 2002/11/21 17:41:25 roberto Exp roberto $ ** Stack and Call structure of Lua ** See Copyright Notice in lua.h */ @@ -46,7 +46,8 @@ int luaD_protectedparser (lua_State *L, ZIO *z, int bin); void luaD_callhook (lua_State *L, int event, int line); StkId luaD_precall (lua_State *L, StkId func); void luaD_call (lua_State *L, StkId func, int nResults); -int luaD_pcall (lua_State *L, int nargs, int nresults, ptrdiff_t errfunc); +int luaD_pcall (lua_State *L, Pfunc func, void *u, + ptrdiff_t oldtop, ptrdiff_t ef); void luaD_poscall (lua_State *L, int wanted, StkId firstResult); void luaD_reallocCI (lua_State *L, int newsize); void luaD_reallocstack (lua_State *L, int newsize); -- cgit v1.2.3-55-g6feb