Merge of itasc branch. Project files, scons and cmake should be working. Makefile...
[blender.git] / source / blender / blenlib / BLI_ghash.h
index c77e82f..c9a8b1b 100644 (file)
 #ifndef BLI_GHASH_H
 #define BLI_GHASH_H
 
+#ifdef __cplusplus
+extern "C" {
+#endif
+
 struct GHash;
 typedef struct GHash GHash;
 
@@ -125,5 +129,9 @@ int                         BLI_ghashutil_strcmp    (void *a, void *b);
 unsigned int   BLI_ghashutil_inthash   (void *ptr);
 int                            BLI_ghashutil_intcmp(void *a, void *b);
 
+#ifdef __cplusplus
+}
+#endif
+
 #endif