comparison src/gifrlib.h @ 321:19dcec799385 r21-0-58

Import from CVS: tag r21-0-58
author cvs
date Mon, 13 Aug 2007 10:46:44 +0200
parents 33bdb3d4b97f
children 8626e4521993
comparison
equal deleted inserted replaced
320:73c75c43c1f2 321:19dcec799385
165 * Support for the in-core structures allocation (slurp mode). * 165 * Support for the in-core structures allocation (slurp mode). *
166 ******************************************************************************/ 166 ******************************************************************************/
167 167
168 /* This is the in-core version of an extension record */ 168 /* This is the in-core version of an extension record */
169 typedef struct { 169 typedef struct {
170 int ByteCount; 170 int ByteCount;
171 char *Bytes; /* on malloc(3) heap */ 171 GifByteType *Bytes; /* on malloc(3) heap */
172 } ExtensionBlock; 172 } ExtensionBlock;
173 173
174 /* This holds an image header, its unpacked raster bits, and extensions */ 174 /* This holds an image header, its unpacked raster bits, and extensions */
175 typedef struct SavedImage { 175 typedef struct SavedImage {
176 GifImageDesc ImageDesc; 176 GifImageDesc ImageDesc;
177 177
178 char *RasterBits; /* on malloc(3) heap */ 178 GifPixelType *RasterBits; /* on malloc(3) heap */
179 179
180 int Function; 180 int Function;
181 int ExtensionBlockCount; 181 int ExtensionBlockCount;
182 ExtensionBlock *ExtensionBlocks; /* on malloc(3) heap */ 182 ExtensionBlock *ExtensionBlocks; /* on malloc(3) heap */
183 } SavedImage; 183 } SavedImage;