aboutsummaryrefslogtreecommitdiff
path: root/ldo.h
diff options
context:
space:
mode:
authorRoberto Ierusalimschy <roberto@inf.puc-rio.br>2018-02-17 17:29:29 -0200
committerRoberto Ierusalimschy <roberto@inf.puc-rio.br>2018-02-17 17:29:29 -0200
commit422318f6777d8d3bac13ade797d9c8eaa38686b6 (patch)
tree5cfabc21fcebb714daf237bff783fe9630e70582 /ldo.h
parent49dae52d0808776f5861eb33efa1d13b05e44512 (diff)
downloadlua-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.h5
1 files changed, 3 insertions, 2 deletions
diff --git a/ldo.h b/ldo.h
index 9d976b32..1fdc75be 100644
--- a/ldo.h
+++ b/ldo.h
@@ -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
53LUAI_FUNC int luaD_protectedparser (lua_State *L, ZIO *z, const char *name, 53LUAI_FUNC int luaD_protectedparser (lua_State *L, ZIO *z, const char *name,
54 const char *mode); 54 const char *mode);
55LUAI_FUNC void luaD_hook (lua_State *L, int event, int line); 55LUAI_FUNC void luaD_hook (lua_State *L, int event, int line,
56 int fTransfer, int nTransfer);
56LUAI_FUNC void luaD_hookcall (lua_State *L, CallInfo *ci); 57LUAI_FUNC void luaD_hookcall (lua_State *L, CallInfo *ci);
57LUAI_FUNC void luaD_pretailcall (lua_State *L, CallInfo *ci, StkId func, int n); 58LUAI_FUNC void luaD_pretailcall (lua_State *L, CallInfo *ci, StkId func, int n);
58LUAI_FUNC void luaD_call (lua_State *L, StkId func, int nResults); 59LUAI_FUNC void luaD_call (lua_State *L, StkId func, int nResults);