Mercurial > hg > xemacs-beta
diff src/gifrlib.h @ 647:b39c14581166
[xemacs-hg @ 2001-08-13 04:45:47 by ben]
removal of unsigned, size_t, etc.
author | ben |
---|---|
date | Mon, 13 Aug 2001 04:46:48 +0000 |
parents | 8de8e3f6228a |
children | fdefd0186b75 |
line wrap: on
line diff
--- a/src/gifrlib.h Wed Aug 08 12:15:04 2001 +0000 +++ b/src/gifrlib.h Mon Aug 13 04:46:48 2001 +0000 @@ -58,7 +58,7 @@ /* I/O operations. If you roll your own, they need to be semantically equivilent to fread/fwrite, with an additional paramater to hold data local to your method. */ -typedef size_t (*Gif_rw_func)(GifByteType *buffer, size_t size, VoidPtr method_data); +typedef Memory_Count (*Gif_rw_func)(GifByteType *buffer, Memory_Count size, VoidPtr method_data); /* Finish up stream. Non-zero return indicates failure */ typedef int (*Gif_close_func)(VoidPtr close_data); /* Error handling function */ @@ -252,13 +252,13 @@ void GifStdIOInit(GifFileType *GifFile, FILE *file, int filehandle); /* Error checking reads, writes and closes */ -void GifRead(GifByteType *buf, size_t size, GifFileType *GifFile); -void GifWrite(GifByteType *buf, size_t size, GifFileType *GifFile); +void GifRead(GifByteType *buf, Memory_Count size, GifFileType *GifFile); +void GifWrite(GifByteType *buf, Memory_Count size, GifFileType *GifFile); int GifClose(GifFileType *GifFile); /* The default Read and Write functions for files */ -size_t GifStdRead(GifByteType *buf, size_t size, VoidPtr method_data); -size_t GifStdWrite(GifByteType *buf, size_t size, VoidPtr method_data); +Memory_Count GifStdRead(GifByteType *buf, Memory_Count size, VoidPtr method_data); +Memory_Count GifStdWrite(GifByteType *buf, Memory_Count size, VoidPtr method_data); int GifStdFileClose(VoidPtr method_data); ColorMapObject *MakeMapObject(int ColorCount, GifColorType *ColorMap);