aboutsummaryrefslogtreecommitdiff
path: root/inout.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 /inout.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 'inout.h')
-rw-r--r--inout.h9
1 files changed, 3 insertions, 6 deletions
diff --git a/inout.h b/inout.h
index fee22d15..c3139a52 100644
--- a/inout.h
+++ b/inout.h
@@ -1,5 +1,5 @@
1/* 1/*
2** $Id: inout.h,v 1.8 1995/05/02 18:43:03 roberto Exp roberto $ 2** $Id: inout.h,v 1.9 1995/05/16 17:23:58 roberto Exp roberto $
3*/ 3*/
4 4
5 5
@@ -12,21 +12,18 @@
12extern Word lua_linenumber; 12extern Word lua_linenumber;
13extern Bool lua_debug; 13extern Bool lua_debug;
14extern Word lua_debugline; 14extern Word lua_debugline;
15extern char *lua_parsedfile;
15 16
16char *lua_openfile (char *fn); 17char *lua_openfile (char *fn);
17void lua_closefile (void); 18void lua_closefile (void);
18char *lua_openstring (char *s); 19void lua_openstring (char *s);
19void lua_closestring (void); 20void lua_closestring (void);
20void lua_pushfunction (char *file, Word function);
21void lua_popfunction (void);
22void luaI_reportbug (char *s, int err);
23 21
24void lua_internaldofile (void); 22void lua_internaldofile (void);
25void lua_internaldostring (void); 23void lua_internaldostring (void);
26void lua_print (void); 24void lua_print (void);
27void luaI_type (void); 25void luaI_type (void);
28void lua_obj2number (void); 26void lua_obj2number (void);
29void luaI_getstack (void);
30void luaI_error (void); 27void luaI_error (void);
31 28
32#endif 29#endif