diff options
| author | Li Jin <dragon-fly@qq.com> | 2020-08-06 01:00:41 +0800 |
|---|---|---|
| committer | Li Jin <dragon-fly@qq.com> | 2020-08-06 01:00:41 +0800 |
| commit | 2506c1b429e952245295e54e71dac4b345e88984 (patch) | |
| tree | ef9f243b6ca18d07b2734041c93fb496cdd8d796 /src/lua/ldebug.h | |
| parent | c74f45ba9778792e6f5a239539d25fd7918252f7 (diff) | |
| download | yuescript-2506c1b429e952245295e54e71dac4b345e88984.tar.gz yuescript-2506c1b429e952245295e54e71dac4b345e88984.tar.bz2 yuescript-2506c1b429e952245295e54e71dac4b345e88984.zip | |
update Lua 5.4.
Diffstat (limited to 'src/lua/ldebug.h')
| -rw-r--r-- | src/lua/ldebug.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/lua/ldebug.h b/src/lua/ldebug.h index 1fe0efa..a0a5848 100644 --- a/src/lua/ldebug.h +++ b/src/lua/ldebug.h | |||
| @@ -13,6 +13,11 @@ | |||
| 13 | 13 | ||
| 14 | #define pcRel(pc, p) (cast_int((pc) - (p)->code) - 1) | 14 | #define pcRel(pc, p) (cast_int((pc) - (p)->code) - 1) |
| 15 | 15 | ||
| 16 | |||
| 17 | /* Active Lua function (given call info) */ | ||
| 18 | #define ci_func(ci) (clLvalue(s2v((ci)->func))) | ||
| 19 | |||
| 20 | |||
| 16 | #define resethookcount(L) (L->hookcount = L->basehookcount) | 21 | #define resethookcount(L) (L->hookcount = L->basehookcount) |
| 17 | 22 | ||
| 18 | /* | 23 | /* |
