From 44752fc9ce2588a9b402d335c87660a9ee28a157 Mon Sep 17 00:00:00 2001 From: Roberto Ierusalimschy Date: Mon, 8 Jul 2002 17:22:08 -0300 Subject: hook count is quadratic --- luadebug.h | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) (limited to 'luadebug.h') diff --git a/luadebug.h b/luadebug.h index d8c82c2d..0f277727 100644 --- a/luadebug.h +++ b/luadebug.h @@ -1,5 +1,5 @@ /* -** $Id: luadebug.h,v 1.28 2002/06/18 17:10:43 roberto Exp roberto $ +** $Id: luadebug.h,v 1.29 2002/07/08 18:21:33 roberto Exp roberto $ ** Debugging API ** See Copyright Notice in lua.h */ @@ -19,9 +19,8 @@ typedef enum lua_Hookevent { #define LUA_MASKCALL (2 << LUA_HOOKCALL) #define LUA_MASKRET (2 << LUA_HOOKRET) #define LUA_MASKLINE (2 << LUA_HOOKLINE) -#define lua_maskcount(count) ((count) << (LUA_HOOKCOUNT+1)) +#define LUA_MASKCOUNT(count) ((count) << (LUA_HOOKCOUNT+1)) #define lua_getmaskcount(mask) ((mask) >> (LUA_HOOKCOUNT+1)) -#define LUA_MASKCOUNT (lua_maskcount(1)) typedef struct lua_Debug lua_Debug; /* activation record */ -- cgit v1.2.3-55-g6feb