aboutsummaryrefslogtreecommitdiff
path: root/lua.h
diff options
context:
space:
mode:
authorRoberto Ierusalimschy <roberto@inf.puc-rio.br>2019-06-18 16:52:22 -0300
committerRoberto Ierusalimschy <roberto@inf.puc-rio.br>2019-06-18 16:52:22 -0300
commitbe73f72fcc944a8ebae2c60d2ce84139acb011b9 (patch)
tree6ba1154c224a4b7af9e5202b4b52e43706faddb1 /lua.h
parent3cd9b56ae6002b4ef28d2467abd119606ae625d3 (diff)
downloadlua-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.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/lua.h b/lua.h
index ec31c781..d3575fd9 100644
--- a/lua.h
+++ b/lua.h
@@ -462,6 +462,7 @@ LUA_API lua_Hook (lua_gethook) (lua_State *L);
462LUA_API int (lua_gethookmask) (lua_State *L); 462LUA_API int (lua_gethookmask) (lua_State *L);
463LUA_API int (lua_gethookcount) (lua_State *L); 463LUA_API int (lua_gethookcount) (lua_State *L);
464 464
465LUA_API int (lua_setCstacklimit) (lua_State *L, unsigned int limit);
465 466
466struct lua_Debug { 467struct lua_Debug {
467 int event; 468 int event;