X-Git-Url: http://git.tdb.fi/?a=blobdiff_plain;f=source%2Farraysize.h;fp=source%2Farraysize.h;h=23479d935d7743aaaf88c375550c44959d255da4;hb=8ddb049bf9cb06c377857ab46b7af23c140f12a7;hp=56f08263f052f184a88b127c4f20bbd0d086c352;hpb=76324b7394d25ba654e938eb33ee985532df7cc6;p=gldbg.git diff --git a/source/arraysize.h b/source/arraysize.h index 56f0826..23479d9 100644 --- a/source/arraysize.h +++ b/source/arraysize.h @@ -10,9 +10,17 @@ Distributed under the GPL #include "opengl.h" -extern int typesize(GLenum); -extern int formatsize(GLenum); -extern int paramsize(GLenum); -extern int buffersize(GLenum); +#ifdef __cplusplus +extern "C" { +#endif + +int typesize(GLenum); +int formatsize(GLenum); +int paramsize(GLenum); +int buffersize(GLenum); + +#ifdef __cplusplus +} +#endif #endif