diff options
author | Roberto Ierusalimschy <roberto@inf.puc-rio.br> | 2020-12-07 11:17:30 -0300 |
---|---|---|
committer | Roberto Ierusalimschy <roberto@inf.puc-rio.br> | 2020-12-07 11:17:30 -0300 |
commit | e2ea3b31c94bb3e1da27c233661cb2a16699c685 (patch) | |
tree | 1d817c8d90e5fbd2c52dff18383a085f2bc847c1 /ltests.h | |
parent | 23051e830a8b212f831443eb888e93e30fa8bb19 (diff) | |
download | lua-e2ea3b31c94bb3e1da27c233661cb2a16699c685.tar.gz lua-e2ea3b31c94bb3e1da27c233661cb2a16699c685.tar.bz2 lua-e2ea3b31c94bb3e1da27c233661cb2a16699c685.zip |
Details (do not affect regular code)
* Avoids multiple definitions of 'lua_assert' in test file.
* Smaller C-stack limit in test mode.
* Note in the manual about the use of false
* Extra test for constant reuse.
Diffstat (limited to 'ltests.h')
-rw-r--r-- | ltests.h | 5 |
1 files changed, 5 insertions, 0 deletions
@@ -130,6 +130,11 @@ LUA_API void *debug_realloc (void *ud, void *block, | |||
130 | #define LUAI_MAXSTACK 50000 | 130 | #define LUAI_MAXSTACK 50000 |
131 | 131 | ||
132 | 132 | ||
133 | /* test mode uses more stack space */ | ||
134 | #undef LUAI_MAXCCALLS | ||
135 | #define LUAI_MAXCCALLS 180 | ||
136 | |||
137 | |||
133 | /* force Lua to use its own implementations */ | 138 | /* force Lua to use its own implementations */ |
134 | #undef lua_strx2number | 139 | #undef lua_strx2number |
135 | #undef lua_number2strx | 140 | #undef lua_number2strx |