From 8060193702b21a06af3541555db4cd317c733ce9 Mon Sep 17 00:00:00 2001 From: Roberto Ierusalimschy Date: Mon, 11 Sep 2000 17:29:27 -0300 Subject: `lauxlib' is now part of the libraries (not used by core Lua) --- luadebug.h | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) (limited to 'luadebug.h') diff --git a/luadebug.h b/luadebug.h index 67472ad9..f81496e1 100644 --- a/luadebug.h +++ b/luadebug.h @@ -1,5 +1,5 @@ /* -** $Id: luadebug.h,v 1.12 2000/08/11 16:17:28 roberto Exp roberto $ +** $Id: luadebug.h,v 1.13 2000/08/28 17:57:04 roberto Exp roberto $ ** Debugging API ** See Copyright Notice in lua.h */ @@ -26,16 +26,18 @@ lua_Hook lua_setcallhook (lua_State *L, lua_Hook func); lua_Hook lua_setlinehook (lua_State *L, lua_Hook func); +#define LUA_IDSIZE 60 struct lua_Debug { const char *event; /* `call', `return' */ - const char *source; /* (S) */ - int linedefined; /* (S) */ - const char *what; /* (S) `Lua' function, `C' function, Lua `main' */ int currentline; /* (l) */ const char *name; /* (n) */ const char *namewhat; /* (n) `global', `tag method', `local', `field' */ int nups; /* (u) number of upvalues */ + int linedefined; /* (S) */ + const char *what; /* (S) `Lua' function, `C' function, Lua `main' */ + const char *source; /* (S) */ + char source_id[LUA_IDSIZE]; /* (S) */ /* private part */ struct lua_TObject *_func; /* active function */ }; -- cgit v1.2.3-55-g6feb