diff options
author | Roberto Ierusalimschy <roberto@inf.puc-rio.br> | 2019-06-18 16:52:22 -0300 |
---|---|---|
committer | Roberto Ierusalimschy <roberto@inf.puc-rio.br> | 2019-06-18 16:52:22 -0300 |
commit | be73f72fcc944a8ebae2c60d2ce84139acb011b9 (patch) | |
tree | 6ba1154c224a4b7af9e5202b4b52e43706faddb1 /ltests.h | |
parent | 3cd9b56ae6002b4ef28d2467abd119606ae625d3 (diff) | |
download | lua-be73f72fcc944a8ebae2c60d2ce84139acb011b9.tar.gz lua-be73f72fcc944a8ebae2c60d2ce84139acb011b9.tar.bz2 lua-be73f72fcc944a8ebae2c60d2ce84139acb011b9.zip |
New function 'setCstacklimit'
Added new functions to dynamically set the C-stack limit
('lua_setCstacklimit' in the C-API, 'debug.setCstacklimit' in Lua).
Diffstat (limited to 'ltests.h')
-rw-r--r-- | ltests.h | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -31,7 +31,7 @@ | |||
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_MAXCSTACK | 33 | #undef LUAI_MAXCSTACK |
34 | #define LUAI_MAXCSTACK 400 | 34 | #define LUAI_MAXCSTACK (400 + CSTACKERR) |
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)) |