diff options
| author | Roberto Ierusalimschy <roberto@inf.puc-rio.br> | 2000-10-20 14:39:03 -0200 |
|---|---|---|
| committer | Roberto Ierusalimschy <roberto@inf.puc-rio.br> | 2000-10-20 14:39:03 -0200 |
| commit | 64eecc0b8219cc3bcaa2b717826a4376c60d9305 (patch) | |
| tree | a1633501cdf21016a00bd555c475daea58ec24f5 /luadebug.h | |
| parent | 8b88ab07f7cfc216407a88d75ad8f0546224c8d7 (diff) | |
| download | lua-64eecc0b8219cc3bcaa2b717826a4376c60d9305.tar.gz lua-64eecc0b8219cc3bcaa2b717826a4376c60d9305.tar.bz2 lua-64eecc0b8219cc3bcaa2b717826a4376c60d9305.zip | |
new macro LUA_API
Diffstat (limited to 'luadebug.h')
| -rw-r--r-- | luadebug.h | 16 |
1 files changed, 9 insertions, 7 deletions
| @@ -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; | |||
| 17 | typedef void (*lua_Hook) (lua_State *L, lua_Debug *ar); | 17 | typedef void (*lua_Hook) (lua_State *L, lua_Debug *ar); |
| 18 | 18 | ||
| 19 | 19 | ||
| 20 | int lua_getstack (lua_State *L, int level, lua_Debug *ar); | 20 | LUA_API int lua_getstack (lua_State *L, int level, lua_Debug *ar); |
| 21 | int lua_getinfo (lua_State *L, const char *what, lua_Debug *ar); | 21 | LUA_API int lua_getinfo (lua_State *L, const char *what, lua_Debug *ar); |
| 22 | const char *lua_getlocal (lua_State *L, const lua_Debug *ar, int localnum); | 22 | LUA_API const char *lua_getlocal (lua_State *L, const lua_Debug *ar, |
| 23 | const char *lua_setlocal (lua_State *L, const lua_Debug *ar, int localnum); | 23 | int localnum); |
| 24 | LUA_API const char *lua_setlocal (lua_State *L, const lua_Debug *ar, | ||
| 25 | int localnum); | ||
| 24 | 26 | ||
| 25 | lua_Hook lua_setcallhook (lua_State *L, lua_Hook func); | 27 | LUA_API lua_Hook lua_setcallhook (lua_State *L, lua_Hook func); |
| 26 | lua_Hook lua_setlinehook (lua_State *L, lua_Hook func); | 28 | LUA_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 |
