diff options
author | dartraiden <wowemuh@gmail.com> | 2021-04-03 15:33:54 +0300 |
---|---|---|
committer | dartraiden <wowemuh@gmail.com> | 2021-04-03 15:33:54 +0300 |
commit | 875bc74fa5fe083ba0b5c5a785c53ec0f49b9a1b (patch) | |
tree | 8c025467c2f85d9a9b7bb2fdd644cee4a9996d7f /libs/liblua/src/lapi.h | |
parent | a0970c309b5c9cb655f58ef3c5154296e975580e (diff) |
liblua: update to 5.4.3
Diffstat (limited to 'libs/liblua/src/lapi.h')
-rw-r--r-- | libs/liblua/src/lapi.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/libs/liblua/src/lapi.h b/libs/liblua/src/lapi.h index 41216b2709..9e99cc4482 100644 --- a/libs/liblua/src/lapi.h +++ b/libs/liblua/src/lapi.h @@ -42,6 +42,8 @@ #define hastocloseCfunc(n) ((n) < LUA_MULTRET) +/* Map [-1, inf) (range of 'nresults') into (-inf, -2] */ #define codeNresults(n) (-(n) - 3) +#define decodeNresults(n) (-(n) - 3) #endif |