MCPcopy Create free account
hub / github.com/Snapchat/KeyDB / DumpFunction

Function DumpFunction

deps/lua/src/ldump.c:129–141  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

127}
128
129static void DumpFunction(const Proto* f, const TString* p, DumpState* D)
130{
131 DumpString((f->source==p || D->strip) ? NULL : f->source,D);
132 DumpInt(f->linedefined,D);
133 DumpInt(f->lastlinedefined,D);
134 DumpChar(f->nups,D);
135 DumpChar(f->numparams,D);
136 DumpChar(f->is_vararg,D);
137 DumpChar(f->maxstacksize,D);
138 DumpCode(f,D);
139 DumpConstants(f,D);
140 DumpDebug(f,D);
141}
142
143static void DumpHeader(DumpState* D)
144{

Callers 2

DumpConstantsFunction · 0.85
luaU_dumpFunction · 0.85

Calls 5

DumpStringFunction · 0.85
DumpIntFunction · 0.85
DumpCharFunction · 0.85
DumpConstantsFunction · 0.85
DumpDebugFunction · 0.85

Tested by

no test coverage detected