Merge of itasc branch. Project files, scons and cmake should be working. Makefile...
[blender.git] / source / blender / blenlib / BLI_ghash.h
index c77e82f0a2bbcb3ea6fc8830bcadf660cbd3dde1..c9a8b1b841f18302ed753cea1a614bdd95c38bbf 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