X-Git-Url: http://git.tdb.fi/?a=blobdiff_plain;f=source%2Fgldecoder.h;h=39d4f6ac28c799391d99a8bfd0740a13117754aa;hb=61fdcb975ab928dc2b56269e0602f3d8a66e726d;hp=41f785c85abec5496f38a7882f63622924084c57;hpb=9d1825d591a7261b1cff620ba535d333352984bf;p=gldbg.git diff --git a/source/gldecoder.h b/source/gldecoder.h index 41f785c..39d4f6a 100644 --- a/source/gldecoder.h +++ b/source/gldecoder.h @@ -1,18 +1,27 @@ /* $Id$ This file is part of gldbg -Copyright © 2009 Mikko Rasa, Mikkosoft Productions +Copyright © 2009-2010 Mikko Rasa, Mikkosoft Productions Distributed under the GPL */ #ifndef GLDECODER_H_ #define GLDECODER_H_ -#include -#include "gldecoder.struct" +#include "opengl.h" + +#ifdef __cplusplus +extern "C" { +#endif + +#include "gensrc/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