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

Function luaF_freeproto

Source/Misc/lua/src/lua.c:5969–5977  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

5967
5968
5969void luaF_freeproto (lua_State *L, Proto *f) {
5970luaM_freearray(L, f->code, f->sizecode, Instruction);
5971luaM_freearray(L, f->p, f->sizep, Proto *);
5972luaM_freearray(L, f->k, f->sizek, TValue);
5973luaM_freearray(L, f->lineinfo, f->sizelineinfo, int);
5974luaM_freearray(L, f->locvars, f->sizelocvars, struct LocVar);
5975luaM_freearray(L, f->upvalues, f->sizeupvalues, TString *);
5976luaM_free(L, f);
5977}
5978
5979
5980void luaF_freeclosure (lua_State *L, Closure *c) {

Callers 1

freeobjFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected