mirror of
https://github.com/lua/lua
synced 2026-09-26 16:17:11 +03:00
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.
This commit is contained in:
parent
f9b0cf0e2e
commit
0443ad9e28
5 changed files with 27 additions and 21 deletions
4
ltests.h
4
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))
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue