diff options
Diffstat (limited to 'luadebug.h')
-rw-r--r-- | luadebug.h | 16 |
1 files changed, 9 insertions, 7 deletions
@@ -1,5 +1,5 @@ | |||
1 | /* | 1 | /* |
2 | ** $Id: luadebug.h,v 1.14 2000/09/11 20:29:27 roberto Exp roberto $ | 2 | ** $Id: luadebug.h,v 1.15 2000/09/12 18:38:02 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 | */ |
@@ -17,13 +17,15 @@ typedef struct lua_Localvar lua_Localvar; | |||
17 | typedef void (*lua_Hook) (lua_State *L, lua_Debug *ar); | 17 | typedef void (*lua_Hook) (lua_State *L, lua_Debug *ar); |
18 | 18 | ||
19 | 19 | ||
20 | int lua_getstack (lua_State *L, int level, lua_Debug *ar); | 20 | LUA_API int lua_getstack (lua_State *L, int level, lua_Debug *ar); |
21 | int lua_getinfo (lua_State *L, const char *what, lua_Debug *ar); | 21 | LUA_API int lua_getinfo (lua_State *L, const char *what, lua_Debug *ar); |
22 | const char *lua_getlocal (lua_State *L, const lua_Debug *ar, int localnum); | 22 | LUA_API const char *lua_getlocal (lua_State *L, const lua_Debug *ar, |
23 | const char *lua_setlocal (lua_State *L, const lua_Debug *ar, int localnum); | 23 | int localnum); |
24 | LUA_API const char *lua_setlocal (lua_State *L, const lua_Debug *ar, | ||
25 | int localnum); | ||
24 | 26 | ||
25 | lua_Hook lua_setcallhook (lua_State *L, lua_Hook func); | 27 | LUA_API lua_Hook lua_setcallhook (lua_State *L, lua_Hook func); |
26 | lua_Hook lua_setlinehook (lua_State *L, lua_Hook func); | 28 | LUA_API lua_Hook lua_setlinehook (lua_State *L, lua_Hook func); |
27 | 29 | ||
28 | 30 | ||
29 | #define LUA_IDSIZE 60 | 31 | #define LUA_IDSIZE 60 |