diff options
author | Jacques Lucke <jacques@blender.org> | 2020-03-02 17:20:13 +0300 |
---|---|---|
committer | Jacques Lucke <jacques@blender.org> | 2020-03-02 17:20:13 +0300 |
commit | d8198b27df200cd14c9f9d5b55db73dc55f4cb5a (patch) | |
tree | 71647fb229bd35160c520a95240d66e9e58eafbb /source/blender/imbuf/IMB_imbuf.h | |
parent | 680b70f093168af700eff2b74bafe41165f88c32 (diff) |
Cleanup: make remaining imbuf headers work in C++
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 |