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

Function dumpUpvalues

third-party/lua-5.5.0/src/ldump.c:216–224  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

214
215
216static void dumpUpvalues (DumpState *D, const Proto *f) {
217 int i, n = f->sizeupvalues;
218 dumpInt(D, n);
219 for (i = 0; i < n; i++) {
220 dumpByte(D, f->upvalues[i].instack);
221 dumpByte(D, f->upvalues[i].idx);
222 dumpByte(D, f->upvalues[i].kind);
223 }
224}
225
226
227static 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