aboutsummaryrefslogtreecommitdiff
path: root/lapi.h
diff options
context:
space:
mode:
Diffstat (limited to 'lapi.h')
-rw-r--r--lapi.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/lapi.h b/lapi.h
index 41216b27..9e99cc44 100644
--- a/lapi.h
+++ b/lapi.h
@@ -42,6 +42,8 @@
42 42
43#define hastocloseCfunc(n) ((n) < LUA_MULTRET) 43#define hastocloseCfunc(n) ((n) < LUA_MULTRET)
44 44
45/* Map [-1, inf) (range of 'nresults') into (-inf, -2] */
45#define codeNresults(n) (-(n) - 3) 46#define codeNresults(n) (-(n) - 3)
47#define decodeNresults(n) (-(n) - 3)
46 48
47#endif 49#endif