From 2cffb08a5c770678999a313a83c76652a3d02d4c Mon Sep 17 00:00:00 2001 From: Roberto Ierusalimschy Date: Tue, 17 Oct 1995 09:58:41 -0200 Subject: new style for debug information about functions: no more SETFUNCTION opcodes. When a function is called, its entry in the stack is marked with LUA_T_(C)MARK, so function 'luaD_stackedfunction' can find it if needed. Functions now have their file names in the headers, so there is no need of 'addfile' and the like. --- table.h | 11 +++++------ 1 file changed, 5 insertions(+), 6 deletions(-) (limited to 'table.h') diff --git a/table.h b/table.h index 3cab37ed..d0093dad 100644 --- a/table.h +++ b/table.h @@ -1,7 +1,7 @@ /* ** Module to control static tables ** TeCGraf - PUC-Rio -** $Id: table.h,v 2.10 1994/12/20 21:20:36 roberto Exp roberto $ +** $Id: table.h,v 2.11 1995/10/13 15:16:25 roberto Exp roberto $ */ #ifndef table_h @@ -22,11 +22,10 @@ Word luaI_findsymbolbyname (char *name); Word luaI_findsymbol (TreeNode *t); Word luaI_findconstant (TreeNode *t); Word luaI_findconstantbyname (char *name); -void lua_travsymbol (void (*fn)(Object *)); -void lua_markobject (Object *o); +int lua_markobject (Object *o); void lua_pack (void); -char *lua_addfile (char *fn); -int lua_delfile (void); -char *lua_filename (void); + +void luaI_funcInfo (Object *func, char **filename, char **funcname, + char **objname, int *linedefined); #endif -- cgit v1.2.3-55-g6feb