X-Git-Url: http://git.asbjorn.it/?a=blobdiff_plain;f=lib%2Frfxswf.h;h=016f8e3a95448af56f6bc4b6a2d865bc4dc56647;hb=30c898f8ceb34cfd220b229020493a11f3bbec4d;hp=62d270d219cb5f62d77cb168316655757e6db49b;hpb=6569de8b8a960bf8f90afa149a6350adf11a8034;p=swftools.git diff --git a/lib/rfxswf.h b/lib/rfxswf.h index 62d270d..016f8e3 100644 --- a/lib/rfxswf.h +++ b/lib/rfxswf.h @@ -22,6 +22,13 @@ #define DEBUG_RFXSWF +#ifndef TRUE +#define TRUE (1) +#endif +#ifndef FALSE +#define FALSE (0) +#endif + // SWF Types typedef unsigned long U32; @@ -132,8 +139,8 @@ TAG * swf_PrevTag(TAG * t); int swf_GetFrameNo(TAG * t); // should be renamed to TagGetFrame U16 swf_GetTagID(TAG * t); // ... TagGetID -U32 swf_GetDataSize(TAG * t); // ... TagGetDataSize -U8* swf_GetDataSizePtr(TAG * t); +U32 swf_GetTagLen(TAG * t); // ... TagGetTagLen +U8* swf_GetTagLenPtr(TAG * t); U32 swf_GetBits(TAG * t,int nbits); S32 swf_GetSBits(TAG * t,int nbits);