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

Function luaF_freeproto

third-party/lua-5.2.4/src/lfunc.c:135–143  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

133
134
135void luaF_freeproto (lua_State *L, Proto *f) {
136 luaM_freearray(L, f->code, f->sizecode);
137 luaM_freearray(L, f->p, f->sizep);
138 luaM_freearray(L, f->k, f->sizek);
139 luaM_freearray(L, f->lineinfo, f->sizelineinfo);
140 luaM_freearray(L, f->locvars, f->sizelocvars);
141 luaM_freearray(L, f->upvalues, f->sizeupvalues);
142 luaM_free(L, f);
143}
144
145
146/*

Callers 1

freeobjFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected