** to be called by 'lua_checkstack' in protected mode, to grow stack ** capturing memory errors */
| 84 | ** capturing memory errors |
| 85 | */ |
| 86 | static void growstack (lua_State *L, void *ud) { |
| 87 | int size = *(int *)ud; |
| 88 | luaD_growstack(L, size); |
| 89 | } |
| 90 | |
| 91 | |
| 92 | LUA_API int lua_checkstack (lua_State *L, int size) { |
nothing calls this directly
no test coverage detected