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_types.h | |
parent | 680b70f093168af700eff2b74bafe41165f88c32 (diff) |
Cleanup: make remaining imbuf headers work in C++
Diffstat (limited to 'source/blender/imbuf/IMB_imbuf_types.h')
-rw-r--r-- | source/blender/imbuf/IMB_imbuf_types.h | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/source/blender/imbuf/IMB_imbuf_types.h b/source/blender/imbuf/IMB_imbuf_types.h index 0568c425e78..3559a7ca387 100644 --- a/source/blender/imbuf/IMB_imbuf_types.h +++ b/source/blender/imbuf/IMB_imbuf_types.h @@ -22,6 +22,10 @@ #include "DNA_vec_types.h" /* for rcti */ +#ifdef __cplusplus +extern "C" { +#endif + /** \file * \ingroup imbuf * \brief Contains defines and structs used throughout the imbuf module. @@ -347,4 +351,8 @@ enum { /** \} */ +#ifdef __cplusplus +} +#endif + #endif /* __IMB_IMBUF_TYPES_H__ */ |