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

Function PrintUpvalues

deps/lua/src/print.c:204–213  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

202}
203
204static void PrintUpvalues(const Proto* f)
205{
206 int i,n=f->sizeupvalues;
207 printf("upvalues (%d) for %p:\n",n,VOID(f));
208 if (f->upvalues==NULL) return;
209 for (i=0; i<n; i++)
210 {
211 printf("\t%d\t%s\n",i,getstr(f->upvalues[i]));
212 }
213}
214
215void PrintFunction(const Proto* f, int full)
216{

Callers 1

PrintFunctionFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected