diff options
author | Roberto Ierusalimschy <roberto@inf.puc-rio.br> | 2023-07-25 16:50:44 -0300 |
---|---|---|
committer | Roberto Ierusalimschy <roberto@inf.puc-rio.br> | 2023-07-25 16:50:44 -0300 |
commit | 1b3f507f620d996ffb69da7476a19251acfb89ca (patch) | |
tree | 71f5a6482d4a33fea53678b411d4837c6450be44 /ldebug.h | |
parent | 6b51133a988587f34ee9581d799ea9913581afd3 (diff) | |
download | lua-1b3f507f620d996ffb69da7476a19251acfb89ca.tar.gz lua-1b3f507f620d996ffb69da7476a19251acfb89ca.tar.bz2 lua-1b3f507f620d996ffb69da7476a19251acfb89ca.zip |
Bug: Call hook may be called twice when count hook yields
Took the opportunity and moved the code that controls call hooks
in 'luaV_execute' into a function.
Diffstat (limited to 'ldebug.h')
-rw-r--r-- | ldebug.h | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -58,6 +58,7 @@ LUAI_FUNC const char *luaG_addinfo (lua_State *L, const char *msg, | |||
58 | TString *src, int line); | 58 | TString *src, int line); |
59 | LUAI_FUNC l_noret luaG_errormsg (lua_State *L); | 59 | LUAI_FUNC l_noret luaG_errormsg (lua_State *L); |
60 | LUAI_FUNC int luaG_traceexec (lua_State *L, const Instruction *pc); | 60 | LUAI_FUNC int luaG_traceexec (lua_State *L, const Instruction *pc); |
61 | LUAI_FUNC int luaG_tracecall (lua_State *L); | ||
61 | 62 | ||
62 | 63 | ||
63 | #endif | 64 | #endif |