aboutsummaryrefslogtreecommitdiff
path: root/table.h
diff options
context:
space:
mode:
authorRoberto Ierusalimschy <roberto@inf.puc-rio.br>1995-10-17 09:58:41 -0200
committerRoberto Ierusalimschy <roberto@inf.puc-rio.br>1995-10-17 09:58:41 -0200
commit2cffb08a5c770678999a313a83c76652a3d02d4c (patch)
tree2a638e6dc4e4682863aadcff0073fa7af0c6198e /table.h
parent15f40fddca66301a53f8b0adf41958c7e9add945 (diff)
downloadlua-2cffb08a5c770678999a313a83c76652a3d02d4c.tar.gz
lua-2cffb08a5c770678999a313a83c76652a3d02d4c.tar.bz2
lua-2cffb08a5c770678999a313a83c76652a3d02d4c.zip
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.
Diffstat (limited to 'table.h')
-rw-r--r--table.h11
1 files changed, 5 insertions, 6 deletions
diff --git a/table.h b/table.h
index 3cab37ed..d0093dad 100644
--- a/table.h
+++ b/table.h
@@ -1,7 +1,7 @@
1/* 1/*
2** Module to control static tables 2** Module to control static tables
3** TeCGraf - PUC-Rio 3** TeCGraf - PUC-Rio
4** $Id: table.h,v 2.10 1994/12/20 21:20:36 roberto Exp roberto $ 4** $Id: table.h,v 2.11 1995/10/13 15:16:25 roberto Exp roberto $
5*/ 5*/
6 6
7#ifndef table_h 7#ifndef table_h
@@ -22,11 +22,10 @@ Word luaI_findsymbolbyname (char *name);
22Word luaI_findsymbol (TreeNode *t); 22Word luaI_findsymbol (TreeNode *t);
23Word luaI_findconstant (TreeNode *t); 23Word luaI_findconstant (TreeNode *t);
24Word luaI_findconstantbyname (char *name); 24Word luaI_findconstantbyname (char *name);
25void lua_travsymbol (void (*fn)(Object *)); 25int lua_markobject (Object *o);
26void lua_markobject (Object *o);
27void lua_pack (void); 26void lua_pack (void);
28char *lua_addfile (char *fn); 27
29int lua_delfile (void); 28void luaI_funcInfo (Object *func, char **filename, char **funcname,
30char *lua_filename (void); 29 char **objname, int *linedefined);
31 30
32#endif 31#endif