--- 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_ */