aboutsummaryrefslogtreecommitdiff
path: root/luadebug.h
diff options
context:
space:
mode:
Diffstat (limited to 'luadebug.h')
-rw-r--r--luadebug.h10
1 files changed, 7 insertions, 3 deletions
diff --git a/luadebug.h b/luadebug.h
index 0a303702..9a702040 100644
--- a/luadebug.h
+++ b/luadebug.h
@@ -2,7 +2,7 @@
2** LUA - Linguagem para Usuarios de Aplicacao 2** LUA - Linguagem para Usuarios de Aplicacao
3** Grupo de Tecnologia em Computacao Grafica 3** Grupo de Tecnologia em Computacao Grafica
4** TeCGraf - PUC-Rio 4** TeCGraf - PUC-Rio
5** $Id: luadebug.h,v 1.1 1995/10/17 14:12:45 roberto Exp roberto $ 5** $Id: luadebug.h,v 1.2 1995/10/26 14:21:56 roberto Exp $
6*/ 6*/
7 7
8 8
@@ -11,10 +11,14 @@
11 11
12#include "lua.h" 12#include "lua.h"
13 13
14typedef void (*lua_LHFunction) (int line);
15typedef void (*lua_CHFunction) (lua_Object func, char *file, int line);
16
14lua_Object lua_stackedfunction(int level); 17lua_Object lua_stackedfunction(int level);
15void lua_funcinfo (lua_Object func, char **filename, int *linedefined); 18void lua_funcinfo (lua_Object func, char **filename, int *linedefined);
16int lua_currentline (lua_Object func); 19int lua_currentline (lua_Object func);
17char *getobjname (lua_Object o, char **name); 20char *lua_getobjname (lua_Object o, char **name);
18 21lua_LHFunction lua_setlinehook (lua_LHFunction hook);
22lua_CHFunction lua_setcallhook (lua_CHFunction hook);
19 23
20#endif 24#endif