mirror of
https://github.com/lua/lua
synced 2026-09-26 16:17:11 +03:00
New function 'setCstacklimit'
Added new functions to dynamically set the C-stack limit
('lua_setCstacklimit' in the C-API, 'debug.setCstacklimit' in Lua).
This commit is contained in:
parent
3cd9b56ae6
commit
be73f72fcc
9 changed files with 149 additions and 12 deletions
1
lua.h
1
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;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue