diff options
| author | Roberto Ierusalimschy <roberto@inf.puc-rio.br> | 2000-10-30 10:38:50 -0200 |
|---|---|---|
| committer | Roberto Ierusalimschy <roberto@inf.puc-rio.br> | 2000-10-30 10:38:50 -0200 |
| commit | f379d06e24f22cb4d0afa3937c27ef35b73b00a6 (patch) | |
| tree | e87e3def52e622040ec2724433e21daee8322ee3 /luadebug.h | |
| parent | 728ff2070135b54c544b90020be268f53bf2d15a (diff) | |
| download | lua-f379d06e24f22cb4d0afa3937c27ef35b73b00a6.tar.gz lua-f379d06e24f22cb4d0afa3937c27ef35b73b00a6.tar.bz2 lua-f379d06e24f22cb4d0afa3937c27ef35b73b00a6.zip | |
all API functions are declared in a single line (to facilitate pre-processing).
Diffstat (limited to 'luadebug.h')
| -rw-r--r-- | luadebug.h | 8 |
1 files changed, 3 insertions, 5 deletions
| @@ -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 | ||
| 20 | LUA_API 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 | LUA_API 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 | LUA_API const char *lua_getlocal (lua_State *L, const lua_Debug *ar, | 22 | LUA_API const char *lua_getlocal (lua_State *L, const lua_Debug *ar, int n); |
| 23 | int localnum); | 23 | LUA_API const char *lua_setlocal (lua_State *L, const lua_Debug *ar, int n); |
| 24 | LUA_API const char *lua_setlocal (lua_State *L, const lua_Debug *ar, | ||
| 25 | int localnum); | ||
| 26 | 24 | ||
| 27 | LUA_API lua_Hook lua_setcallhook (lua_State *L, lua_Hook func); | 25 | LUA_API lua_Hook lua_setcallhook (lua_State *L, lua_Hook func); |
| 28 | LUA_API lua_Hook lua_setlinehook (lua_State *L, lua_Hook func); | 26 | LUA_API lua_Hook lua_setlinehook (lua_State *L, lua_Hook func); |
