mirror of
https://github.com/lua/lua
synced 2026-09-26 16:17:11 +03:00
Bug: stack overflow with nesting of coroutine.close
This commit is contained in:
parent
b85816b9a8
commit
1e64c1391f
6 changed files with 38 additions and 6 deletions
2
lua.h
2
lua.h
|
|
@ -153,7 +153,7 @@ extern const char lua_ident[];
|
|||
LUA_API lua_State *(lua_newstate) (lua_Alloc f, void *ud);
|
||||
LUA_API void (lua_close) (lua_State *L);
|
||||
LUA_API lua_State *(lua_newthread) (lua_State *L);
|
||||
LUA_API int (lua_resetthread) (lua_State *L);
|
||||
LUA_API int (lua_resetthread) (lua_State *L, lua_State *from);
|
||||
|
||||
LUA_API lua_CFunction (lua_atpanic) (lua_State *L, lua_CFunction panicf);
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue