X-Git-Url: http://git.tdb.fi/?a=blobdiff_plain;f=source%2Fgldecoder.h;h=9eb7d89c83906127399c53cf0b721c23e5895e05;hb=9cdca19aa017ea1711436977855e885d91e78ab0;hp=41f785c85abec5496f38a7882f63622924084c57;hpb=9d1825d591a7261b1cff620ba535d333352984bf;p=gldbg.git diff --git a/source/gldecoder.h b/source/gldecoder.h index 41f785c..9eb7d89 100644 --- a/source/gldecoder.h +++ b/source/gldecoder.h @@ -9,10 +9,20 @@ Distributed under the GPL #define GLDECODER_H_ #include +#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