MCPcopy Create free account
hub / github.com/F-Stack/f-stack / luaE_setdebt

Function luaE_setdebt

freebsd/contrib/openzfs/module/lua/lstate.c:103–106  ·  view source on GitHub ↗

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

Source from the content-addressed store, hash-verified

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

Callers 4

lua_gcFunction · 0.85
setpauseFunction · 0.85
incstepFunction · 0.85
luaC_stepFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected