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

Function dumpUpvalues

third-party/lua-5.4.6/src/ldump.c:147–155  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

145
146
147static void dumpUpvalues (DumpState *D, const Proto *f) {
148 int i, n = f->sizeupvalues;
149 dumpInt(D, n);
150 for (i = 0; i < n; i++) {
151 dumpByte(D, f->upvalues[i].instack);
152 dumpByte(D, f->upvalues[i].idx);
153 dumpByte(D, f->upvalues[i].kind);
154 }
155}
156
157
158static void dumpDebug (DumpState *D, const Proto *f) {

Callers 1

dumpFunctionFunction · 0.70

Calls 2

dumpIntFunction · 0.70
dumpByteFunction · 0.70

Tested by

no test coverage detected