diff options
author | Roberto Ierusalimschy <roberto@inf.puc-rio.br> | 2019-03-25 14:12:06 -0300 |
---|---|---|
committer | Roberto Ierusalimschy <roberto@inf.puc-rio.br> | 2019-03-25 14:12:06 -0300 |
commit | 0443ad9e288825b6e4441eb11104bcdb4ff4593a (patch) | |
tree | e342cb5e94c97f8e024ed89e8de6d44a207992cd /ltests.h | |
parent | f9b0cf0e2ee35c5444959f77e95f3f07376b9e3e (diff) | |
download | lua-0443ad9e288825b6e4441eb11104bcdb4ff4593a.tar.gz lua-0443ad9e288825b6e4441eb11104bcdb4ff4593a.tar.bz2 lua-0443ad9e288825b6e4441eb11104bcdb4ff4593a.zip |
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.
Diffstat (limited to 'ltests.h')
-rw-r--r-- | ltests.h | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -30,8 +30,8 @@ | |||
30 | 30 | ||
31 | 31 | ||
32 | /* compiled with -O0, Lua uses a lot of C stack space... */ | 32 | /* compiled with -O0, Lua uses a lot of C stack space... */ |
33 | #undef LUAI_MAXCCALLS | 33 | #undef LUAI_MAXCSTACK |
34 | #define LUAI_MAXCCALLS 400 | 34 | #define LUAI_MAXCSTACK 400 |
35 | 35 | ||
36 | /* to avoid warnings, and to make sure value is really unused */ | 36 | /* to avoid warnings, and to make sure value is really unused */ |
37 | #define UNUSED(x) (x=0, (void)(x)) | 37 | #define UNUSED(x) (x=0, (void)(x)) |