diff options
Diffstat (limited to 'source/blender/blenkernel/BKE_undo_system.h')
-rw-r--r-- | source/blender/blenkernel/BKE_undo_system.h | 14 |
1 files changed, 11 insertions, 3 deletions
diff --git a/source/blender/blenkernel/BKE_undo_system.h b/source/blender/blenkernel/BKE_undo_system.h index bc10d422a61..c503215be1f 100644 --- a/source/blender/blenkernel/BKE_undo_system.h +++ b/source/blender/blenkernel/BKE_undo_system.h @@ -20,6 +20,13 @@ * \ingroup bke */ +#include "DNA_ID.h" +#include "DNA_listBase.h" + +#ifdef __cplusplus +extern "C" { +#endif + struct Main; struct UndoStep; struct bContext; @@ -31,9 +38,6 @@ struct Object; struct Scene; struct Text; -#include "DNA_ID.h" -#include "DNA_listBase.h" - typedef struct UndoRefID { struct ID *ptr; char name[MAX_ID_NAME]; @@ -198,4 +202,8 @@ void BKE_undosys_foreach_ID_ref(UndoStack *ustack, void BKE_undosys_print(UndoStack *ustack); +#ifdef __cplusplus +} +#endif + #endif /* __BKE_UNDO_SYSTEM_H__ */ |