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 /lua.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 'lua.h')
-rw-r--r-- | lua.h | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -462,6 +462,7 @@ LUA_API lua_Hook (lua_gethook) (lua_State *L); | |||
462 | LUA_API int (lua_gethookmask) (lua_State *L); | 462 | LUA_API int (lua_gethookmask) (lua_State *L); |
463 | LUA_API int (lua_gethookcount) (lua_State *L); | 463 | LUA_API int (lua_gethookcount) (lua_State *L); |
464 | 464 | ||
465 | LUA_API int (lua_setCstacklimit) (lua_State *L, unsigned int limit); | ||
465 | 466 | ||
466 | struct lua_Debug { | 467 | struct lua_Debug { |
467 | int event; | 468 | int event; |