From 0443ad9e288825b6e4441eb11104bcdb4ff4593a Mon Sep 17 00:00:00 2001 From: Roberto Ierusalimschy Date: Mon, 25 Mar 2019 14:12:06 -0300 Subject: LUAI_MAXCCALLS renamed LUAI_MAXCSTACK The limit LUAI_MAXCCALLS was renamed LUAI_MAXCSTACK, which better represents its meaning. Moreover, its definition was moved to 'luaconf.h', given its importance now that Lua does not use a "stackless" implementation. --- ltests.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'ltests.h') diff --git a/ltests.h b/ltests.h index 997e1c4b..a22c98e1 100644 --- a/ltests.h +++ b/ltests.h @@ -30,8 +30,8 @@ /* compiled with -O0, Lua uses a lot of C stack space... */ -#undef LUAI_MAXCCALLS -#define LUAI_MAXCCALLS 400 +#undef LUAI_MAXCSTACK +#define LUAI_MAXCSTACK 400 /* to avoid warnings, and to make sure value is really unused */ #define UNUSED(x) (x=0, (void)(x)) -- cgit v1.2.3-55-g6feb