aboutsummaryrefslogtreecommitdiff
path: root/luadebug.h
diff options
context:
space:
mode:
Diffstat (limited to 'luadebug.h')
-rw-r--r--luadebug.h8
1 files changed, 3 insertions, 5 deletions
diff --git a/luadebug.h b/luadebug.h
index cb46ec32..72994165 100644
--- a/luadebug.h
+++ b/luadebug.h
@@ -1,5 +1,5 @@
1/* 1/*
2** $Id: luadebug.h,v 1.15 2000/09/12 18:38:02 roberto Exp roberto $ 2** $Id: luadebug.h,v 1.16 2000/10/20 16:39:03 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*/
@@ -19,10 +19,8 @@ typedef void (*lua_Hook) (lua_State *L, lua_Debug *ar);
19 19
20LUA_API int lua_getstack (lua_State *L, int level, lua_Debug *ar); 20LUA_API int lua_getstack (lua_State *L, int level, lua_Debug *ar);
21LUA_API int lua_getinfo (lua_State *L, const char *what, lua_Debug *ar); 21LUA_API int lua_getinfo (lua_State *L, const char *what, lua_Debug *ar);
22LUA_API const char *lua_getlocal (lua_State *L, const lua_Debug *ar, 22LUA_API const char *lua_getlocal (lua_State *L, const lua_Debug *ar, int n);
23 int localnum); 23LUA_API const char *lua_setlocal (lua_State *L, const lua_Debug *ar, int n);
24LUA_API const char *lua_setlocal (lua_State *L, const lua_Debug *ar,
25 int localnum);
26 24
27LUA_API lua_Hook lua_setcallhook (lua_State *L, lua_Hook func); 25LUA_API lua_Hook lua_setcallhook (lua_State *L, lua_Hook func);
28LUA_API lua_Hook lua_setlinehook (lua_State *L, lua_Hook func); 26LUA_API lua_Hook lua_setlinehook (lua_State *L, lua_Hook func);