diff options
| author | Roberto Ierusalimschy <roberto@inf.puc-rio.br> | 2018-02-17 17:29:29 -0200 |
|---|---|---|
| committer | Roberto Ierusalimschy <roberto@inf.puc-rio.br> | 2018-02-17 17:29:29 -0200 |
| commit | 422318f6777d8d3bac13ade797d9c8eaa38686b6 (patch) | |
| tree | 5cfabc21fcebb714daf237bff783fe9630e70582 /ldo.h | |
| parent | 49dae52d0808776f5861eb33efa1d13b05e44512 (diff) | |
| download | lua-422318f6777d8d3bac13ade797d9c8eaa38686b6.tar.gz lua-422318f6777d8d3bac13ade797d9c8eaa38686b6.tar.bz2 lua-422318f6777d8d3bac13ade797d9c8eaa38686b6.zip | |
two new fields 'fTransfer'/'nTransfer' in 'lua_Debug' structure
(for information about values being given and returned in function calls)
Diffstat (limited to 'ldo.h')
| -rw-r--r-- | ldo.h | 5 |
1 files changed, 3 insertions, 2 deletions
| @@ -1,5 +1,5 @@ | |||
| 1 | /* | 1 | /* |
| 2 | ** $Id: ldo.h,v 2.41 2018/02/09 15:16:06 roberto Exp roberto $ | 2 | ** $Id: ldo.h,v 2.42 2018/02/15 15:34:29 roberto Exp roberto $ |
| 3 | ** Stack and Call structure of Lua | 3 | ** Stack and Call structure of Lua |
| 4 | ** See Copyright Notice in lua.h | 4 | ** See Copyright Notice in lua.h |
| 5 | */ | 5 | */ |
| @@ -52,7 +52,8 @@ typedef void (*Pfunc) (lua_State *L, void *ud); | |||
| 52 | 52 | ||
| 53 | LUAI_FUNC int luaD_protectedparser (lua_State *L, ZIO *z, const char *name, | 53 | LUAI_FUNC int luaD_protectedparser (lua_State *L, ZIO *z, const char *name, |
| 54 | const char *mode); | 54 | const char *mode); |
| 55 | LUAI_FUNC void luaD_hook (lua_State *L, int event, int line); | 55 | LUAI_FUNC void luaD_hook (lua_State *L, int event, int line, |
| 56 | int fTransfer, int nTransfer); | ||
| 56 | LUAI_FUNC void luaD_hookcall (lua_State *L, CallInfo *ci); | 57 | LUAI_FUNC void luaD_hookcall (lua_State *L, CallInfo *ci); |
| 57 | LUAI_FUNC void luaD_pretailcall (lua_State *L, CallInfo *ci, StkId func, int n); | 58 | LUAI_FUNC void luaD_pretailcall (lua_State *L, CallInfo *ci, StkId func, int n); |
| 58 | LUAI_FUNC void luaD_call (lua_State *L, StkId func, int nResults); | 59 | LUAI_FUNC void luaD_call (lua_State *L, StkId func, int nResults); |
