diff -r 24381b61de5c -r b0395290e61f hostsupport/hostopengles20/src/shader.h --- a/hostsupport/hostopengles20/src/shader.h Fri Nov 12 17:56:05 2010 +0000 +++ b/hostsupport/hostopengles20/src/shader.h Mon Nov 15 09:56:25 2010 +0000 @@ -37,8 +37,17 @@ GLsizei length; } DGLShader; +#ifdef __cplusplus +extern "C" +{ +#endif /* __cplusplus */ + DGLShader* DGLShader_create(GLuint name); void DGLShader_destroy(DGLShader* shader); +#ifdef __cplusplus +} +#endif /* __cplusplus */ + #endif // SHADER_H_