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_metadata.h | |
parent | 680b70f093168af700eff2b74bafe41165f88c32 (diff) |
Cleanup: make remaining imbuf headers work in C++
Diffstat (limited to 'source/blender/imbuf/IMB_metadata.h')
-rw-r--r-- | source/blender/imbuf/IMB_metadata.h | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/source/blender/imbuf/IMB_metadata.h b/source/blender/imbuf/IMB_metadata.h index fc08e17dd96..edbdd7be482 100644 --- a/source/blender/imbuf/IMB_metadata.h +++ b/source/blender/imbuf/IMB_metadata.h @@ -24,6 +24,10 @@ #ifndef __IMB_METADATA_H__ #define __IMB_METADATA_H__ +#ifdef __cplusplus +extern "C" { +#endif + struct IDProperty; struct ImBuf; struct anim; @@ -77,4 +81,8 @@ struct IDProperty *IMB_anim_load_metadata(struct anim *anim); typedef void (*IMBMetadataForeachCb)(const char *field, const char *value, void *userdata); void IMB_metadata_foreach(struct ImBuf *ibuf, IMBMetadataForeachCb callback, void *userdata); +#ifdef __cplusplus +} +#endif + #endif /* __IMB_METADATA_H__ */ |