| 202 | } |
| 203 | |
| 204 | static 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 | |
| 215 | void PrintFunction(const Proto* f, int full) |
| 216 | { |