MCPcopy Create free account
hub / github.com/Achain-Dev/Achain / removevars

Function removevars

src/Chain/libraries/glua/lparser.cpp:235–239  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

233
234
235static void removevars(FuncState *fs, int tolevel) {
236 fs->ls->dyd->actvar.n -= (fs->nactvar - tolevel);
237 while (fs->nactvar > tolevel)
238 getlocvar(fs, --fs->nactvar)->endpc = fs->pc;
239}
240
241
242static int searchupvalue(FuncState *fs, TString *name) {

Callers 1

leaveblockFunction · 0.85

Calls 1

getlocvarFunction · 0.85

Tested by

no test coverage detected