From: kramm Date: Tue, 23 Nov 2004 21:20:44 +0000 (+0000) Subject: added self pointer to callback function. X-Git-Tag: release-0-6-3~128 X-Git-Url: http://git.asbjorn.it/?a=commitdiff_plain;h=d9c36e82b736ea22d3ae14c9c9f085a069991407;p=swftools.git added self pointer to callback function. --- diff --git a/src/swfstrings.c b/src/swfstrings.c index 9e9261d..44a0432 100644 --- a/src/swfstrings.c +++ b/src/swfstrings.c @@ -62,7 +62,7 @@ int args_callback_command(char*name,char*val) SWF swf; -void fontcallback(U16 id,U8 * name) +void fontcallback(void*self,U16 id,U8 * name) { LPSWFFONT font; LPTAG t; @@ -94,7 +94,7 @@ int main (int argc,char ** argv) } else { close(f); - swf_FontEnumerate(&swf,&fontcallback); + swf_FontEnumerate(&swf,&fontcallback,0); swf_FreeTags(&swf); } } else {