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

Function PrintFunction

deps/lua/src/print.c:215–227  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

213}
214
215void PrintFunction(const Proto* f, int full)
216{
217 int i,n=f->sizep;
218 PrintHeader(f);
219 PrintCode(f);
220 if (full)
221 {
222 PrintConstants(f);
223 PrintLocals(f);
224 PrintUpvalues(f);
225 }
226 for (i=0; i<n; i++) PrintFunction(f->p[i],full);
227}

Callers

nothing calls this directly

Calls 5

PrintHeaderFunction · 0.85
PrintCodeFunction · 0.85
PrintConstantsFunction · 0.85
PrintLocalsFunction · 0.85
PrintUpvaluesFunction · 0.85

Tested by

no test coverage detected