Mercurial > hg > dmlib
comparison src/libgfx.h @ 1301:e03f20d0f785
Constify.
author | Matti Hamalainen <ccr@tnsp.org> |
---|---|
date | Sat, 19 Aug 2017 04:25:02 +0300 |
parents | 2c4acbc3e7bf |
children |
comparison
equal
deleted
inserted
replaced
1300:fd442faa705f | 1301:e03f20d0f785 |
---|---|
102 int dmImageProbeGeneric(const Uint8 *buf, const size_t len, DMImageFormat **fmt, int *index); | 102 int dmImageProbeGeneric(const Uint8 *buf, const size_t len, DMImageFormat **fmt, int *index); |
103 | 103 |
104 BOOL dmCompareColor(const DMColor *c1, const DMColor *c2, BOOL alpha); | 104 BOOL dmCompareColor(const DMColor *c1, const DMColor *c2, BOOL alpha); |
105 | 105 |
106 | 106 |
107 int dmWriteImageData(DMImage *img, void *cbdata, int (*writeRowCB)(void *, Uint8 *, size_t), const DMImageConvSpec *spec); | 107 int dmWriteImageData(DMImage *img, void *cbdata, int (*writeRowCB)(void *, const Uint8 *, const size_t), const DMImageConvSpec *spec); |
108 | 108 |
109 int dmWriteIFFMasterRAWPalette(FILE *fp, DMImage *img, int ncolors, const char *indent, const char *type); | 109 int dmWriteIFFMasterRAWPalette(FILE *fp, DMImage *img, int ncolors, const char *indent, const char *type); |
110 int dmWriteRAWImageFILE(FILE *fp, DMImage *img, const DMImageConvSpec *spec); | 110 int dmWriteRAWImageFILE(FILE *fp, DMImage *img, const DMImageConvSpec *spec); |
111 int dmWriteRAWImage(const char *filename, DMImage *img, const DMImageConvSpec *spec); | 111 int dmWriteRAWImage(const char *filename, DMImage *img, const DMImageConvSpec *spec); |
112 | 112 |