diff options
Diffstat (limited to 'source/blender/blenlib')
-rw-r--r-- | source/blender/blenlib/BLI_ghash.h | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/source/blender/blenlib/BLI_ghash.h b/source/blender/blenlib/BLI_ghash.h index 5c1c06b78ac..0e467b02110 100644 --- a/source/blender/blenlib/BLI_ghash.h +++ b/source/blender/blenlib/BLI_ghash.h @@ -32,6 +32,10 @@ #ifndef BLI_GHASH_H #define BLI_GHASH_H +#ifdef __cplusplus +extern "C" { +#endif + #include "stdio.h" #include "stdlib.h" #include "string.h" @@ -264,4 +268,8 @@ BM_INLINE int BLI_ghash_haskey(GHash *gh, void *key) { return 0; } +#ifdef __cplusplus +} +#endif + #endif |