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