MCPcopy Create free account
hub / github.com/DFHack/dfhack / getlocvar

Function getlocvar

depends/lua/src/lparser.c:195–199  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

193
194
195static LocVar *getlocvar (FuncState *fs, int i) {
196 int idx = fs->ls->dyd->actvar.arr[fs->firstlocal + i].idx;
197 lua_assert(idx < fs->nlocvars);
198 return &fs->f->locvars[idx];
199}
200
201
202static void adjustlocalvars (LexState *ls, int nvars) {

Callers 5

adjustlocalvarsFunction · 0.85
removevarsFunction · 0.85
searchvarFunction · 0.85
closegotoFunction · 0.85
localfuncFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected