error checking for png

git-svn-id: file:///home/notaz/opt/svn/PicoDrive@451 be3aeb3a-fb24-0410-a615-afba39da0efa
This commit is contained in:
notaz 2008-05-21 19:05:55 +00:00
parent 8f7ed1b8e1
commit 7a87643e07
3 changed files with 46 additions and 7 deletions

View file

@ -2,9 +2,18 @@ typedef enum
{
READPNG_BG = 1,
READPNG_FONT,
READPNG_SELECTOR
READPNG_SELECTOR,
READPNG_320_24,
READPNG_480_24
}
readpng_what;
void readpng(void *dest, const char *fname, readpng_what what);
#ifdef __cplusplus
extern "C" {
#endif
int readpng(void *dest, const char *fname, readpng_what what);
#ifdef __cplusplus
}
#endif