diff options
author | Jacques Lucke <jacques@blender.org> | 2020-03-02 17:09:10 +0300 |
---|---|---|
committer | Jacques Lucke <jacques@blender.org> | 2020-03-02 17:09:10 +0300 |
commit | 680b70f093168af700eff2b74bafe41165f88c32 (patch) | |
tree | 0d21d3093022ee220addbea149f5022923dfeef1 /source/blender/editors/include/ED_paint.h | |
parent | 5de56f95966352cda588d3c830f73dfaa1c19412 (diff) |
Cleanup: make remaining editor include headers work in C++
Diffstat (limited to 'source/blender/editors/include/ED_paint.h')
-rw-r--r-- | source/blender/editors/include/ED_paint.h | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/source/blender/editors/include/ED_paint.h b/source/blender/editors/include/ED_paint.h index e15e4c45c4a..065eb082e4d 100644 --- a/source/blender/editors/include/ED_paint.h +++ b/source/blender/editors/include/ED_paint.h @@ -21,6 +21,10 @@ #ifndef __ED_PAINT_H__ #define __ED_PAINT_H__ +#ifdef __cplusplus +extern "C" { +#endif + struct ImBuf; struct Image; struct UndoStep; @@ -96,4 +100,8 @@ void ED_paintcurve_undo_push_end(void); void ED_paintcurve_undosys_type(struct UndoType *ut); +#ifdef __cplusplus +} +#endif + #endif /* __ED_PAINT_H__ */ |