From fc2b966fc7235a99d73e9d40736adf70f86ce506 Mon Sep 17 00:00:00 2001 From: Sergey Sharybin Date: Fri, 29 Nov 2019 11:42:18 +0100 Subject: Refactor: Add C++ guard code to headers C++ is used more and more, and it is becoming more and more annoying to keep track of whether header have C++ guard or not. Is easier and more clear to be consistent in all headers and have such guards in all headers. --- source/blender/makesdna/DNA_action_types.h | 8 ++++++++ 1 file changed, 8 insertions(+) (limited to 'source/blender/makesdna/DNA_action_types.h') diff --git a/source/blender/makesdna/DNA_action_types.h b/source/blender/makesdna/DNA_action_types.h index b7834e2c7e0..95e6437ae8d 100644 --- a/source/blender/makesdna/DNA_action_types.h +++ b/source/blender/makesdna/DNA_action_types.h @@ -28,6 +28,10 @@ #ifndef __DNA_ACTION_TYPES_H__ #define __DNA_ACTION_TYPES_H__ +#ifdef __cplusplus +extern "C" { +#endif + #include "DNA_listBase.h" #include "DNA_ID.h" #include "DNA_view2d_types.h" @@ -955,4 +959,8 @@ typedef enum eActionChannelFlag { ACHAN_MOVED = (1u << 31), } eActionChannelFlag; +#ifdef __cplusplus +} +#endif + #endif /* __DNA_ACTION_TYPES_H__ */ -- cgit v1.2.3