MCPcopy Create free account
hub / github.com/EmmyLua/EmmyLuaDebugger / luaE_setdebt

Function luaE_setdebt

third-party/lua-5.2.4/src/lstate.c:106–109  ·  view source on GitHub ↗

** set GCdebt to a new value keeping the value (totalbytes + GCdebt) ** invariant */

Source from the content-addressed store, hash-verified

104** invariant
105*/
106void luaE_setdebt (global_State *g, l_mem debt) {
107 g->totalbytes -= (debt - g->GCdebt);
108 g->GCdebt = debt;
109}
110
111
112CallInfo *luaE_extendCI (lua_State *L) {

Callers 4

lua_gcFunction · 0.70
setpauseFunction · 0.70
incstepFunction · 0.70
luaC_stepFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected