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_gpencil.h | |
parent | 5de56f95966352cda588d3c830f73dfaa1c19412 (diff) |
Cleanup: make remaining editor include headers work in C++
Diffstat (limited to 'source/blender/editors/include/ED_gpencil.h')
-rw-r--r-- | source/blender/editors/include/ED_gpencil.h | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/source/blender/editors/include/ED_gpencil.h b/source/blender/editors/include/ED_gpencil.h index 5073207daa5..d8088dd8454 100644 --- a/source/blender/editors/include/ED_gpencil.h +++ b/source/blender/editors/include/ED_gpencil.h @@ -24,6 +24,10 @@ #ifndef __ED_GPENCIL_H__ #define __ED_GPENCIL_H__ +#ifdef __cplusplus +extern "C" { +#endif + struct ID; struct ListBase; struct PointerRNA; @@ -302,4 +306,8 @@ struct tGPspoint *ED_gpencil_sbuffer_ensure(struct tGPspoint *buffer_array, /* Tag all scene grease pencil object to update. */ void ED_gpencil_tag_scene_gpencil(struct Scene *scene); +#ifdef __cplusplus +} +#endif + #endif /* __ED_GPENCIL_H__ */ |