diff options
author | Jacques Lucke <jacques@blender.org> | 2020-03-02 17:07:49 +0300 |
---|---|---|
committer | Jacques Lucke <jacques@blender.org> | 2020-03-02 17:07:49 +0300 |
commit | 5de56f95966352cda588d3c830f73dfaa1c19412 (patch) | |
tree | 5f71cd37d5ebc1dbe69ef5df4b365c3e6df95b00 /source/blender/blenkernel/BKE_brush.h | |
parent | cf93b65a65f948d4014d3fd2f7541ffe1b2209d4 (diff) |
Cleanup: make remaining blenkernel headers work in C++
Diffstat (limited to 'source/blender/blenkernel/BKE_brush.h')
-rw-r--r-- | source/blender/blenkernel/BKE_brush.h | 12 |
1 files changed, 10 insertions, 2 deletions
diff --git a/source/blender/blenkernel/BKE_brush.h b/source/blender/blenkernel/BKE_brush.h index c7f6c09b886..b6575094202 100644 --- a/source/blender/blenkernel/BKE_brush.h +++ b/source/blender/blenkernel/BKE_brush.h @@ -23,6 +23,12 @@ * General operations for brushes. */ +#include "DNA_object_enums.h" + +#ifdef __cplusplus +extern "C" { +#endif + enum eCurveMappingPreset; struct Brush; struct ImBuf; @@ -34,8 +40,6 @@ struct UnifiedPaintSettings; // enum eCurveMappingPreset; -#include "DNA_object_enums.h" - /* globals for brush execution */ void BKE_brush_system_init(void); void BKE_brush_system_exit(void); @@ -140,4 +144,8 @@ void BKE_brush_scale_size(int *r_brush_size, /* debugging only */ void BKE_brush_debug_print_state(struct Brush *br); +#ifdef __cplusplus +} +#endif + #endif |