diff -r 24381b61de5c -r b0395290e61f hostsupport/hostopengles20/src/object.h --- a/hostsupport/hostopengles20/src/object.h Fri Nov 12 17:56:05 2010 +0000 +++ b/hostsupport/hostopengles20/src/object.h Mon Nov 15 09:56:25 2010 +0000 @@ -37,8 +37,17 @@ struct DGLObject* next; } DGLObject; +#ifdef __cplusplus +extern "C" +{ +#endif /* __cplusplus */ + void DGLObject_insert(DGLObject** root, DGLObject* object); DGLObject* DGLObject_remove(DGLObject** root, GLuint name); DGLObject* DGLObject_find(DGLObject* root, GLuint name); +#ifdef __cplusplus +} +#endif /* __cplusplus */ + #endif /* OBJECT_H_ */