** to be called by 'lua_checkstack' in protected mode, to grow stack ** capturing memory errors */
| 92 | ** capturing memory errors |
| 93 | */ |
| 94 | static void growstack(lua_State *L, void *ud) { |
| 95 | int size = *(int *)ud; |
| 96 | luaD_growstack(L, size); |
| 97 | } |
| 98 | |
| 99 | |
| 100 | LUA_API int lua_checkstack(lua_State *L, int n) { |
nothing calls this directly
no test coverage detected