typedef unsigned char * GifRowType;
typedef unsigned char GifByteType;
-#ifdef SYSV
-#define VoidPtr char *
-#else
#define VoidPtr void *
-#endif /* SYSV */
typedef struct GifColorType {
GifByteType Red, Green, Blue;
/* This is the in-core version of an extension record */
typedef struct {
int ByteCount;
- char *Bytes; /* on malloc(3) heap */
+ GifByteType *Bytes; /* on malloc(3) heap */
} ExtensionBlock;
/* This holds an image header, its unpacked raster bits, and extensions */
typedef struct SavedImage {
GifImageDesc ImageDesc;
- char *RasterBits; /* on malloc(3) heap */
+ GifPixelType *RasterBits; /* on malloc(3) heap */
int Function;
int ExtensionBlockCount;