diff options
Diffstat (limited to 'source/blender/windowmanager/gizmo/WM_gizmo_types.h')
-rw-r--r-- | source/blender/windowmanager/gizmo/WM_gizmo_types.h | 10 |
1 files changed, 9 insertions, 1 deletions
diff --git a/source/blender/windowmanager/gizmo/WM_gizmo_types.h b/source/blender/windowmanager/gizmo/WM_gizmo_types.h index 346ed131c59..5def7f8d2f9 100644 --- a/source/blender/windowmanager/gizmo/WM_gizmo_types.h +++ b/source/blender/windowmanager/gizmo/WM_gizmo_types.h @@ -40,6 +40,10 @@ struct wmKeyConfig; #include "DNA_listBase.h" +#ifdef __cplusplus +extern "C" { +#endif + /* -------------------------------------------------------------------- */ /* Enum Typedef's */ @@ -371,7 +375,7 @@ typedef struct wmGizmoType { /** Activate a gizmo state when the user clicks on it. */ wmGizmoFnInvoke invoke; - /** Called when gizmo tweaking is done - used to free data and reset property when cancelling. */ + /** Called when gizmo tweaking is done - used to free data and reset property when canceling. */ wmGizmoFnExit exit; wmGizmoFnCursorGet cursor_get; @@ -506,4 +510,8 @@ typedef enum eWM_GizmoFlagMapDrawStep { } eWM_GizmoFlagMapDrawStep; #define WM_GIZMOMAP_DRAWSTEP_MAX 2 +#ifdef __cplusplus +} +#endif + #endif /* __WM_GIZMO_TYPES_H__ */ |