diff options
author | Roberto Ierusalimschy <roberto@inf.puc-rio.br> | 2019-06-26 13:26:36 -0300 |
---|---|---|
committer | Roberto Ierusalimschy <roberto@inf.puc-rio.br> | 2019-06-26 13:26:36 -0300 |
commit | 8b7cfee26b71e66de2cef9f8db9d9e18f5439afd (patch) | |
tree | 8590bc5eba700f6c03da032bff8a925de257c726 /luaconf.h | |
parent | c1a63c45f8ec5932993c8cec40d3c5ec0743349c (diff) | |
download | lua-8b7cfee26b71e66de2cef9f8db9d9e18f5439afd.tar.gz lua-8b7cfee26b71e66de2cef9f8db9d9e18f5439afd.tar.bz2 lua-8b7cfee26b71e66de2cef9f8db9d9e18f5439afd.zip |
Small changes around C-stack limit
- Better documentation in 'testes/cstack.lua' about using
'debug.setCstacklimit' to find a good limit.
- Constant LUAI_MAXCSTACK gets added CSTACKERR (extra stack for
error handling), so that it is compatible with the argument to
'debug.setCstacklimit'.
Diffstat (limited to 'luaconf.h')
-rw-r--r-- | luaconf.h | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -47,7 +47,7 @@ | |||
47 | ** (It will crash with a limit too high.) | 47 | ** (It will crash with a limit too high.) |
48 | */ | 48 | */ |
49 | #if !defined(LUAI_MAXCSTACK) | 49 | #if !defined(LUAI_MAXCSTACK) |
50 | #define LUAI_MAXCSTACK 2200 | 50 | #define LUAI_MAXCSTACK 2000 |
51 | #endif | 51 | #endif |
52 | 52 | ||
53 | 53 | ||