aboutsummaryrefslogtreecommitdiff
path: root/luadebug.h
diff options
context:
space:
mode:
Diffstat (limited to 'luadebug.h')
-rw-r--r--luadebug.h5
1 files changed, 2 insertions, 3 deletions
diff --git a/luadebug.h b/luadebug.h
index d8c82c2d..0f277727 100644
--- a/luadebug.h
+++ b/luadebug.h
@@ -1,5 +1,5 @@
1/* 1/*
2** $Id: luadebug.h,v 1.28 2002/06/18 17:10:43 roberto Exp roberto $ 2** $Id: luadebug.h,v 1.29 2002/07/08 18:21:33 roberto Exp roberto $
3** Debugging API 3** Debugging API
4** See Copyright Notice in lua.h 4** See Copyright Notice in lua.h
5*/ 5*/
@@ -19,9 +19,8 @@ typedef enum lua_Hookevent {
19#define LUA_MASKCALL (2 << LUA_HOOKCALL) 19#define LUA_MASKCALL (2 << LUA_HOOKCALL)
20#define LUA_MASKRET (2 << LUA_HOOKRET) 20#define LUA_MASKRET (2 << LUA_HOOKRET)
21#define LUA_MASKLINE (2 << LUA_HOOKLINE) 21#define LUA_MASKLINE (2 << LUA_HOOKLINE)
22#define lua_maskcount(count) ((count) << (LUA_HOOKCOUNT+1)) 22#define LUA_MASKCOUNT(count) ((count) << (LUA_HOOKCOUNT+1))
23#define lua_getmaskcount(mask) ((mask) >> (LUA_HOOKCOUNT+1)) 23#define lua_getmaskcount(mask) ((mask) >> (LUA_HOOKCOUNT+1))
24#define LUA_MASKCOUNT (lua_maskcount(1))
25 24
26typedef struct lua_Debug lua_Debug; /* activation record */ 25typedef struct lua_Debug lua_Debug; /* activation record */
27 26