| 5305 | |
| 5306 | |
| 5307 | void luaD_growstack (lua_State *L, int n) { |
| 5308 | if (n <= L->stacksize) /* double size is enough? */ |
| 5309 | luaD_reallocstack(L, 2*L->stacksize); |
| 5310 | else |
| 5311 | luaD_reallocstack(L, L->stacksize + n); |
| 5312 | } |
| 5313 | |
| 5314 | |
| 5315 | static CallInfo *growCI (lua_State *L) { |
nothing calls this directly
no test coverage detected