diff -r 24381b61de5c -r b0395290e61f hostsupport/hostopengles20/src/buffer.h --- a/hostsupport/hostopengles20/src/buffer.h Fri Nov 12 17:56:05 2010 +0000 +++ b/hostsupport/hostopengles20/src/buffer.h Mon Nov 15 09:56:25 2010 +0000 @@ -41,7 +41,16 @@ GLenum usage; } DGLBuffer; +#ifdef __cplusplus +extern "C" +{ +#endif /* __cplusplus */ + DGLBuffer* DGLBuffer_create(GLuint name); void DGLBuffer_destroy(DGLBuffer* buffer); +#ifdef __cplusplus +} +#endif /* __cplusplus */ + #endif /* BUFFER_H_ */