aboutsummaryrefslogtreecommitdiff
path: root/luadebug.h
diff options
context:
space:
mode:
Diffstat (limited to 'luadebug.h')
-rw-r--r--luadebug.h19
1 files changed, 10 insertions, 9 deletions
diff --git a/luadebug.h b/luadebug.h
index 0836ba4a..c7ea3da4 100644
--- a/luadebug.h
+++ b/luadebug.h
@@ -1,5 +1,5 @@
1/* 1/*
2** $Id: luadebug.h,v 1.26 2002/03/14 16:50:06 roberto Exp roberto $ 2** $Id: luadebug.h,v 1.27 2002/04/04 17:21:31 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*/
@@ -28,14 +28,15 @@ LUA_API lua_Hook lua_setlinehook (lua_State *L, lua_Hook func);
28#define LUA_IDSIZE 60 28#define LUA_IDSIZE 60
29 29
30struct lua_Debug { 30struct lua_Debug {
31 const char *event; /* `call', `return', `line' */ 31 const char *event; /* `call', `return', `line' */
32 const char *name; /* (n) */ 32 const char *name; /* (n) */
33 const char *namewhat; /* (n) `global', `local', `field', `method' */ 33 const char *namewhat; /* (n) `global', `local', `field', `method' */
34 const char *what; /* (S) `Lua' function, `C' function, Lua `main' */ 34 const char *what; /* (S) `Lua' function, `C' function, Lua `main' */
35 const char *source; /* (S) */ 35 const char *source; /* (S) */
36 int currentline; /* (l) */ 36 int currentline; /* (l) */
37 int nups; /* (u) number of upvalues */ 37 int isprotected; /* (c) function was called in protected mode */
38 int linedefined; /* (S) */ 38 int nups; /* (u) number of upvalues */
39 int linedefined; /* (S) */
39 char short_src[LUA_IDSIZE]; /* (S) */ 40 char short_src[LUA_IDSIZE]; /* (S) */
40 /* private part */ 41 /* private part */
41 int i_ci; /* active function */ 42 int i_ci; /* active function */