aboutsummaryrefslogtreecommitdiff
path: root/luadebug.h
diff options
context:
space:
mode:
authorRoberto Ierusalimschy <roberto@inf.puc-rio.br>1999-02-04 15:47:59 -0200
committerRoberto Ierusalimschy <roberto@inf.puc-rio.br>1999-02-04 15:47:59 -0200
commit568794956025183fc9a9b79e0c818a885e3d0aeb (patch)
tree02d1a74d7c9a16ca06e94ab4308694ad04f49012 /luadebug.h
parent19de5b22054f6da2c3e0eb3138cc7a1195aab4fd (diff)
downloadlua-568794956025183fc9a9b79e0c818a885e3d0aeb.tar.gz
lua-568794956025183fc9a9b79e0c818a885e3d0aeb.tar.bz2
lua-568794956025183fc9a9b79e0c818a885e3d0aeb.zip
"lua_debug", "lua_callhook" and "lua_linehook" must be inside "lua_state".
Diffstat (limited to 'luadebug.h')
-rw-r--r--luadebug.h13
1 files changed, 4 insertions, 9 deletions
diff --git a/luadebug.h b/luadebug.h
index dbc5a1d0..d2e3c862 100644
--- a/luadebug.h
+++ b/luadebug.h
@@ -1,5 +1,5 @@
1/* 1/*
2** $Id: luadebug.h,v 1.3 1998/09/07 18:59:59 roberto Exp roberto $ 2** $Id: luadebug.h,v 1.4 1999/01/15 13:11:22 roberto Exp roberto $
3** Debugging API 3** Debugging API
4** See Copyright Notice in lua.h 4** See Copyright Notice in lua.h
5*/ 5*/
@@ -26,14 +26,9 @@ int lua_setlocal (lua_Function func, int local_number);
26 26
27int lua_nups (lua_Function func); 27int lua_nups (lua_Function func);
28 28
29extern lua_LHFunction lua_linehook; 29lua_LHFunction lua_setlinehook (lua_LHFunction func);
30extern lua_CHFunction lua_callhook; 30lua_CHFunction lua_setcallhook (lua_CHFunction func);
31extern int lua_debug; 31int lua_setdebug (int debug);
32
33
34extern lua_LHFunction lua_setlinehook (lua_LHFunction func);
35extern lua_CHFunction lua_setcallhook (lua_CHFunction func);
36extern int lua_setdebug (int debug);
37 32
38 33
39#endif 34#endif