From: kramm Date: Sun, 27 Jul 2008 09:36:48 +0000 (+0000) Subject: deletetag now takes two arguments X-Git-Tag: buttons-working~71 X-Git-Url: http://git.asbjorn.biz/?p=swftools.git;a=commitdiff_plain;h=0f54ba811030f2579cce874ef577e36d1c75270b deletetag now takes two arguments --- diff --git a/lib/modules/swfaction.c b/lib/modules/swfaction.c index 9a44798..9f44d4b 100644 --- a/lib/modules/swfaction.c +++ b/lib/modules/swfaction.c @@ -1102,7 +1102,7 @@ ActionTAG* swf_ActionCompile(const char* source, int version) rfx_free(buffer); a = swf_ActionGet(tag); - swf_DeleteTag(tag); + swf_DeleteTag(0, tag); return a; } diff --git a/lib/rfxswf.h b/lib/rfxswf.h index a650158..1b7d6a2 100644 --- a/lib/rfxswf.h +++ b/lib/rfxswf.h @@ -192,7 +192,7 @@ void swf_OptimizeTagOrder(SWF*swf); TAG * swf_InsertTag(TAG * after,U16 id); // updates frames, if necessary TAG * swf_InsertTagBefore(SWF*swf, TAG * before,U16 id); // like InsertTag, but insert tag before argument -int swf_DeleteTag(TAG * t); +TAG * swf_DeleteTag(SWF*swf, TAG * t); void swf_ClearTag(TAG * t); //frees tag data void swf_ResetTag(TAG*tag, U16 id); //set's tag position and length to 0, without freeing it