diff options
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 |