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

Function PrintLocals

deps/lua/src/print.c:193–202  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

191}
192
193static void PrintLocals(const Proto* f)
194{
195 int i,n=f->sizelocvars;
196 printf("locals (%d) for %p:\n",n,VOID(f));
197 for (i=0; i<n; i++)
198 {
199 printf("\t%d\t%s\t%d\t%d\n",
200 i,getstr(f->locvars[i].varname),f->locvars[i].startpc+1,f->locvars[i].endpc+1);
201 }
202}
203
204static void PrintUpvalues(const Proto* f)
205{

Callers 1

PrintFunctionFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected