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 /lua.h | |
parent | 49dae52d0808776f5861eb33efa1d13b05e44512 (diff) | |
download | lua-github-422318f6777d8d3bac13ade797d9c8eaa38686b6.tar.gz |
two new fields 'fTransfer'/'nTransfer' in 'lua_Debug' structure
(for information about values being given and returned in function calls)
Diffstat (limited to 'lua.h')
-rw-r--r-- | lua.h | 4 |
1 files changed, 3 insertions, 1 deletions
@@ -1,5 +1,5 @@ /* -** $Id: lua.h,v 1.337 2017/11/02 11:28:56 roberto Exp $ +** $Id: lua.h,v 1.339 2017/11/07 13:25:26 roberto Exp roberto $ ** Lua - A Scripting Language ** Lua.org, PUC-Rio, Brazil (http://www.lua.org) ** See Copyright Notice at the end of this file @@ -452,6 +452,8 @@ struct lua_Debug { int lastlinedefined; /* (S) */ unsigned char nups; /* (u) number of upvalues */ unsigned char nparams;/* (u) number of parameters */ + unsigned char fTransfer;/* (r) index of first value transfered */ + unsigned char nTransfer; /* (r) number of transfered values */ char isvararg; /* (u) */ char istailcall; /* (t) */ char short_src[LUA_IDSIZE]; /* (S) */ |