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

Function DumpFunction

third-party/lua-5.1.5/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.70
luaU_dumpFunction · 0.70

Calls 6

DumpCodeFunction · 0.85
DumpStringFunction · 0.70
DumpIntFunction · 0.70
DumpCharFunction · 0.70
DumpConstantsFunction · 0.70
DumpDebugFunction · 0.70

Tested by

no test coverage detected