diff options
Diffstat (limited to 'source/blender/imbuf/IMB_imbuf.h')
-rw-r--r-- | source/blender/imbuf/IMB_imbuf.h | 12 |
1 files changed, 10 insertions, 2 deletions
diff --git a/source/blender/imbuf/IMB_imbuf.h b/source/blender/imbuf/IMB_imbuf.h index 173c8135f96..8ac9b2e2e16 100644 --- a/source/blender/imbuf/IMB_imbuf.h +++ b/source/blender/imbuf/IMB_imbuf.h @@ -56,11 +56,15 @@ #ifndef __IMB_IMBUF_H__ #define __IMB_IMBUF_H__ -#define IM_MAX_SPACE 64 - /* for bool */ #include "../blenlib/BLI_sys_types.h" +#ifdef __cplusplus +extern "C" { +#endif + +#define IM_MAX_SPACE 64 + /** * * \attention defined in ??? @@ -755,4 +759,8 @@ void IMB_ImBufFromStereo3d(struct Stereo3dFormat *s3d, struct ImBuf **r_ibuf_left, struct ImBuf **r_ibuf_right); +#ifdef __cplusplus +} +#endif + #endif |