fix crashes reported by Debian Cylab Mayhem Team
[swftools.git] / lib / old_rfxswf.h
blobbe79454c14ccde54f6efefedbc77280344ce5075
1 /* old_rfxswf.h
3 File which defines macros and typedefs for old versions of
4 the rfxswf lib functions and datatypes. (For routines which
5 still use them)
7 Part of the swftools package.
9 Copyright (c) 2000, 2001 Rainer Böhme <rfxswf@reflex-studio.de>
11 This program is free software; you can redistribute it and/or modify
12 it under the terms of the GNU General Public License as published by
13 the Free Software Foundation; either version 2 of the License, or
14 (at your option) any later version.
16 This program is distributed in the hope that it will be useful,
17 but WITHOUT ANY WARRANTY; without even the implied warranty of
18 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
19 GNU General Public License for more details.
21 You should have received a copy of the GNU General Public License
22 along with this program; if not, write to the Free Software
23 Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA */
25 #include "rfxswf.h"
28 #define DataPos dataReadPos
29 #define DataSize dataWritePos
30 #define bitcount bitWritePos
31 #define bitmask bitWritePos
34 #define GetDataSize GetTagLen
35 #define GetDataSizePtr GetTagLenPtr
36 #define RFXSWF_ReadTag(a,b) swf_ReadTag(a,b)
37 #define RFXSWF_WriteTag(a,b) swf_WriteTag(a,b)
38 #define RFXSWF_UpdateFrame(a,b) swf_UpdateFrame(a,b)
39 #define RFXSWF_WriteTag(a,b) swf_WriteTag(a,b)
40 #define RFXSWF_DefineSprite_GetRealSize(a) swf_DefineSprite_GetRealSize(a)