MCPcopy Create free account
hub / github.com/RomanKubiak/ctrlr / growCI

Function growCI

Source/Misc/lua/src/lua.c:5315–5324  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

5313
5314
5315static CallInfo *growCI (lua_State *L) {
5316if (L->size_ci > LUAI_MAXCALLS) /* overflow while handling overflow? */
5317luaD_throw(L, LUA_ERRERR);
5318else {
5319luaD_reallocCI(L, 2*L->size_ci);
5320if (L->size_ci > LUAI_MAXCALLS)
5321luaG_runerror(L, "stack overflow");
5322}
5323return ++L->ci;
5324}
5325
5326
5327void luaD_callhook (lua_State *L, int event, int line) {

Callers

nothing calls this directly

Calls 3

luaD_throwFunction · 0.85
luaD_reallocCIFunction · 0.85
luaG_runerrorFunction · 0.85

Tested by

no test coverage detected