From be73f72fcc944a8ebae2c60d2ce84139acb011b9 Mon Sep 17 00:00:00 2001 From: Roberto Ierusalimschy Date: Tue, 18 Jun 2019 16:52:22 -0300 Subject: New function 'setCstacklimit' Added new functions to dynamically set the C-stack limit ('lua_setCstacklimit' in the C-API, 'debug.setCstacklimit' in Lua). --- lua.h | 1 + 1 file changed, 1 insertion(+) (limited to 'lua.h') 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); LUA_API int (lua_gethookmask) (lua_State *L); LUA_API int (lua_gethookcount) (lua_State *L); +LUA_API int (lua_setCstacklimit) (lua_State *L, unsigned int limit); struct lua_Debug { int event; -- cgit v1.2.3-55-g6feb