aboutsummaryrefslogtreecommitdiff
path: root/lzio.h
diff options
context:
space:
mode:
authorRoberto Ierusalimschy <roberto@inf.puc-rio.br>2021-01-26 16:53:51 -0300
committerRoberto Ierusalimschy <roberto@inf.puc-rio.br>2021-01-26 16:53:51 -0300
commit58aa09a0b91cf81779d6710d7f9d855bb9d3712f (patch)
tree56adab5aab1307791b7e485677a41203d7369a6c /lzio.h
parent1f81baffadad9d955b030a1a29b9b06042a66552 (diff)
downloadlua-58aa09a0b91cf81779d6710d7f9d855bb9d3712f.tar.gz
lua-58aa09a0b91cf81779d6710d7f9d855bb9d3712f.tar.bz2
lua-58aa09a0b91cf81779d6710d7f9d855bb9d3712f.zip
Small improvements in hooks
- 'L->top' is set once in 'luaD_hook', instead of being set in 'luaD_hookcall' and 'rethook'; - resume discard arguments when returning after an yield inside a hook (arguments may interfere with the coroutine stack); - yield inside a hook asserts it has no arguments.
Diffstat (limited to 'lzio.h')
0 files changed, 0 insertions, 0 deletions