error checking for png
[picodrive.git] / platform / common / readpng.h
CommitLineData
a12e0116 1typedef enum
2{
3 READPNG_BG = 1,
4 READPNG_FONT,
7a87643e 5 READPNG_SELECTOR,
6 READPNG_320_24,
7 READPNG_480_24
a12e0116 8}
9readpng_what;
10
7a87643e 11#ifdef __cplusplus
12extern "C" {
13#endif
a12e0116 14
7a87643e 15int readpng(void *dest, const char *fname, readpng_what what);
16
17#ifdef __cplusplus
18}
19#endif