diff options
author | Roberto Ierusalimschy <roberto@inf.puc-rio.br> | 1997-09-16 16:25:59 -0300 |
---|---|---|
committer | Roberto Ierusalimschy <roberto@inf.puc-rio.br> | 1997-09-16 16:25:59 -0300 |
commit | 84e92e09765c568ba5be25b3d21a5745ee4002ba (patch) | |
tree | 8776113a5f9080460d740cc8d456a00df9e864dc | |
parent | b8a049abed1f021009930a3030b484e70f89f001 (diff) | |
download | lua-84e92e09765c568ba5be25b3d21a5745ee4002ba.tar.gz lua-84e92e09765c568ba5be25b3d21a5745ee4002ba.tar.bz2 lua-84e92e09765c568ba5be25b3d21a5745ee4002ba.zip |
Debuging API
-rw-r--r-- | luadebug.h | 10 |
1 files changed, 6 insertions, 4 deletions
@@ -1,14 +1,14 @@ | |||
1 | /* | 1 | /* |
2 | ** LUA - Linguagem para Usuarios de Aplicacao | 2 | ** $Id: $ |
3 | ** Grupo de Tecnologia em Computacao Grafica | 3 | ** Debuging API |
4 | ** TeCGraf - PUC-Rio | 4 | ** See Copyright Notice in lua.h |
5 | ** $Id: luadebug.h,v 1.5 1996/02/08 17:03:20 roberto Exp roberto $ | ||
6 | */ | 5 | */ |
7 | 6 | ||
8 | 7 | ||
9 | #ifndef luadebug_h | 8 | #ifndef luadebug_h |
10 | #define luadebug_h | 9 | #define luadebug_h |
11 | 10 | ||
11 | |||
12 | #include "lua.h" | 12 | #include "lua.h" |
13 | 13 | ||
14 | typedef lua_Object lua_Function; | 14 | typedef lua_Object lua_Function; |
@@ -24,8 +24,10 @@ char *lua_getobjname (lua_Object o, char **name); | |||
24 | lua_Object lua_getlocal (lua_Function func, int local_number, char **name); | 24 | lua_Object lua_getlocal (lua_Function func, int local_number, char **name); |
25 | int lua_setlocal (lua_Function func, int local_number); | 25 | int lua_setlocal (lua_Function func, int local_number); |
26 | 26 | ||
27 | |||
27 | extern lua_LHFunction lua_linehook; | 28 | extern lua_LHFunction lua_linehook; |
28 | extern lua_CHFunction lua_callhook; | 29 | extern lua_CHFunction lua_callhook; |
29 | extern int lua_debug; | 30 | extern int lua_debug; |
30 | 31 | ||
32 | |||
31 | #endif | 33 | #endif |