diff options
| author | Roberto Ierusalimschy <roberto@inf.puc-rio.br> | 2002-07-08 17:22:08 -0300 |
|---|---|---|
| committer | Roberto Ierusalimschy <roberto@inf.puc-rio.br> | 2002-07-08 17:22:08 -0300 |
| commit | 44752fc9ce2588a9b402d335c87660a9ee28a157 (patch) | |
| tree | 824f78c6256f46d25dbeab117a5bfcca0bbfb67a /luadebug.h | |
| parent | 39b2d58c39fd0cd554b27ed071926bc439338964 (diff) | |
| download | lua-44752fc9ce2588a9b402d335c87660a9ee28a157.tar.gz lua-44752fc9ce2588a9b402d335c87660a9ee28a157.tar.bz2 lua-44752fc9ce2588a9b402d335c87660a9ee28a157.zip | |
hook count is quadratic
Diffstat (limited to 'luadebug.h')
| -rw-r--r-- | luadebug.h | 5 |
1 files changed, 2 insertions, 3 deletions
| @@ -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 | ||
| 26 | typedef struct lua_Debug lua_Debug; /* activation record */ | 25 | typedef struct lua_Debug lua_Debug; /* activation record */ |
| 27 | 26 | ||
