X-Git-Url: http://git.tdb.fi/?a=blobdiff_plain;f=source%2Fgldecoder.h;h=d97c0b3ff45fd30bdc1232114123d6c84df64dce;hb=8a1580721a939c3edea2ce1b342148e94ad2b814;hp=41f785c85abec5496f38a7882f63622924084c57;hpb=9d1825d591a7261b1cff620ba535d333352984bf;p=gldbg.git diff --git a/source/gldecoder.h b/source/gldecoder.h index 41f785c..d97c0b3 100644 --- a/source/gldecoder.h +++ b/source/gldecoder.h @@ -9,10 +9,19 @@ Distributed under the GPL #define GLDECODER_H_ #include + +#ifdef __cplusplus +extern "C" { +#endif + #include "gldecoder.struct" GlDecoder *gldecoder_new(void *, void (*)(void *)); void gldecoder_delete(GlDecoder *); -unsigned gldecoder_decode(GlDecoder *, const char *, unsigned); +int gldecoder_decode(GlDecoder *, const char *, unsigned); + +#ifdef __cplusplus +} +#endif #endif