X-Git-Url: https://notaz.gp2x.de/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=common%2Freadpng.h;h=7d74fee2d8f6b030640dc2e9ae77c2a60dbd9a7f;hb=35cbf2ec89d87204288d4d40ad46bf77361e5cfe;hp=542a7747b761285a9be4edcb27369e5978b89ffc;hpb=c7a4ff64287b12487c7e9cc13ce3b7d2aa6e1f06;p=libpicofe.git diff --git a/common/readpng.h b/common/readpng.h index 542a774..7d74fee 100644 --- a/common/readpng.h +++ b/common/readpng.h @@ -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