| 159 | |
| 160 | |
| 161 | void luaD_growstack (lua_State *L, int n) { |
| 162 | if (n <= L->stacksize) /* double size is enough? */ |
| 163 | luaD_reallocstack(L, 2*L->stacksize); |
| 164 | else |
| 165 | luaD_reallocstack(L, L->stacksize + n); |
| 166 | } |
| 167 | |
| 168 | |
| 169 | static CallInfo *growCI (lua_State *L) { |
nothing calls this directly
no test coverage detected