diff options
Diffstat (limited to 'source/blender/blenkernel/BKE_callbacks.h')
-rw-r--r-- | source/blender/blenkernel/BKE_callbacks.h | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/source/blender/blenkernel/BKE_callbacks.h b/source/blender/blenkernel/BKE_callbacks.h index e15cf7fed18..284948da634 100644 --- a/source/blender/blenkernel/BKE_callbacks.h +++ b/source/blender/blenkernel/BKE_callbacks.h @@ -21,6 +21,10 @@ #ifndef __BKE_CALLBACKS_H__ #define __BKE_CALLBACKS_H__ +#ifdef __cplusplus +extern "C" { +#endif + struct Depsgraph; struct ID; struct Main; @@ -81,4 +85,8 @@ void BKE_callback_add(bCallbackFuncStore *funcstore, eCbEvent evt); void BKE_callback_global_init(void); void BKE_callback_global_finalize(void); +#ifdef __cplusplus +} +#endif + #endif /* __BKE_CALLBACKS_H__ */ |