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

Function getlocvar

third-party/lua-5.2.4/src/lparser.c:198–202  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

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

Callers 5

adjustlocalvarsFunction · 0.70
removevarsFunction · 0.70
searchvarFunction · 0.70
closegotoFunction · 0.70
localfuncFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected