X-Git-Url: http://git.tdb.fi/?a=blobdiff_plain;f=source%2Farraysize.h;h=23479d935d7743aaaf88c375550c44959d255da4;hb=6a5b15f6382ca79e2b5f724585d29b73a40e8194;hp=1ab0ae7a91dc6b6c994f206b0cbe409865c5f94d;hpb=68bbf8f302d01d2ee82dee28b9f64cff3660e234;p=gldbg.git diff --git a/source/arraysize.h b/source/arraysize.h index 1ab0ae7..23479d9 100644 --- a/source/arraysize.h +++ b/source/arraysize.h @@ -1,18 +1,26 @@ /* $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 ARRAYSIZE_H_ #define ARRAYSIZE_H_ -#include +#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