SWF swf;
-void fontcallback(U16 id,U8 * name)
-{ LPSWFFONT font;
- LPTAG t;
+void fontcallback(void*self,U16 id,U8 * name)
+{ SWFFONT* font;
+ TAG* t;
swf_FontExtract(&swf,id,&font);
printf("#< %s %s %s>\n",name,swf_FontIsBold(font)?"bold":"",swf_FontIsItalic(font)?"italic":"");
}
else
{ close(f);
- swf_FontEnumerate(&swf,&fontcallback);
+ swf_FontEnumerate(&swf,&fontcallback,0);
swf_FreeTags(&swf);
}
} else {