From 875bc74fa5fe083ba0b5c5a785c53ec0f49b9a1b Mon Sep 17 00:00:00 2001 From: dartraiden Date: Sat, 3 Apr 2021 15:33:54 +0300 Subject: liblua: update to 5.4.3 --- libs/liblua/src/lapi.h | 2 ++ 1 file changed, 2 insertions(+) (limited to 'libs/liblua/src/lapi.h') 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 -- cgit v1.2.3