From 7c0ccdfd61f1611ff0f5f6899a7679916686fc65 Mon Sep 17 00:00:00 2001 From: Roberto Ierusalimschy Date: Mon, 2 Sep 2002 17:00:41 -0300 Subject: avoid the use of "enum" in the API, as they do not have a fixed representation --- ldo.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'ldo.h') diff --git a/ldo.h b/ldo.h index 70888b1c..5ee9e2ef 100644 --- a/ldo.h +++ b/ldo.h @@ -1,5 +1,5 @@ /* -** $Id: ldo.h,v 1.50 2002/08/06 15:32:22 roberto Exp roberto $ +** $Id: ldo.h,v 1.51 2002/08/07 14:35:55 roberto Exp roberto $ ** Stack and Call structure of Lua ** See Copyright Notice in lua.h */ @@ -36,7 +36,7 @@ typedef void (*Pfunc) (lua_State *L, void *ud); void luaD_resetprotection (lua_State *L); int luaD_protectedparser (lua_State *L, ZIO *z, int bin); -void luaD_callhook (lua_State *L, lua_Hookevent event, int line); +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); -- cgit v1.2.3-55-g6feb