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

Function DumpProtos

depends/lua/src/ldump.c:128–134  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

126
127
128static void DumpProtos (const Proto *f, DumpState *D) {
129 int i;
130 int n = f->sizep;
131 DumpInt(n, D);
132 for (i = 0; i < n; i++)
133 DumpFunction(f->p[i], f->source, D);
134}
135
136
137static void DumpUpvalues (const Proto *f, DumpState *D) {

Callers 1

DumpFunctionFunction · 0.85

Calls 2

DumpIntFunction · 0.85
DumpFunctionFunction · 0.85

Tested by

no test coverage detected