aboutsummaryrefslogtreecommitdiff
path: root/luadebug.h
diff options
context:
space:
mode:
authorRoberto Ierusalimschy <roberto@inf.puc-rio.br>2000-10-20 14:39:03 -0200
committerRoberto Ierusalimschy <roberto@inf.puc-rio.br>2000-10-20 14:39:03 -0200
commit64eecc0b8219cc3bcaa2b717826a4376c60d9305 (patch)
treea1633501cdf21016a00bd555c475daea58ec24f5 /luadebug.h
parent8b88ab07f7cfc216407a88d75ad8f0546224c8d7 (diff)
downloadlua-64eecc0b8219cc3bcaa2b717826a4376c60d9305.tar.gz
lua-64eecc0b8219cc3bcaa2b717826a4376c60d9305.tar.bz2
lua-64eecc0b8219cc3bcaa2b717826a4376c60d9305.zip
new macro LUA_API
Diffstat (limited to 'luadebug.h')
-rw-r--r--luadebug.h16
1 files changed, 9 insertions, 7 deletions
diff --git a/luadebug.h b/luadebug.h
index c90e93b9..cb46ec32 100644
--- a/luadebug.h
+++ b/luadebug.h
@@ -1,5 +1,5 @@
1/* 1/*
2** $Id: luadebug.h,v 1.14 2000/09/11 20:29:27 roberto Exp roberto $ 2** $Id: luadebug.h,v 1.15 2000/09/12 18:38:02 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*/
@@ -17,13 +17,15 @@ typedef struct lua_Localvar lua_Localvar;
17typedef void (*lua_Hook) (lua_State *L, lua_Debug *ar); 17typedef void (*lua_Hook) (lua_State *L, lua_Debug *ar);
18 18
19 19
20int lua_getstack (lua_State *L, int level, lua_Debug *ar); 20LUA_API int lua_getstack (lua_State *L, int level, lua_Debug *ar);
21int 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);
22const char *lua_getlocal (lua_State *L, const lua_Debug *ar, int localnum); 22LUA_API const char *lua_getlocal (lua_State *L, const lua_Debug *ar,
23const char *lua_setlocal (lua_State *L, const lua_Debug *ar, int localnum); 23 int localnum);
24LUA_API const char *lua_setlocal (lua_State *L, const lua_Debug *ar,
25 int localnum);
24 26
25lua_Hook lua_setcallhook (lua_State *L, lua_Hook func); 27LUA_API lua_Hook lua_setcallhook (lua_State *L, lua_Hook func);
26lua_Hook lua_setlinehook (lua_State *L, lua_Hook func); 28LUA_API lua_Hook lua_setlinehook (lua_State *L, lua_Hook func);
27 29
28 30
29#define LUA_IDSIZE 60 31#define LUA_IDSIZE 60