diff options
Diffstat (limited to 'source/blender/makesdna/DNA_simulation_types.h')
-rw-r--r-- | source/blender/makesdna/DNA_simulation_types.h | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/source/blender/makesdna/DNA_simulation_types.h b/source/blender/makesdna/DNA_simulation_types.h index 4ff694b29cc..a700c9fe2f8 100644 --- a/source/blender/makesdna/DNA_simulation_types.h +++ b/source/blender/makesdna/DNA_simulation_types.h @@ -23,6 +23,10 @@ #include "DNA_ID.h" #include "DNA_customdata_types.h" +#ifdef __cplusplus +extern "C" { +#endif + typedef struct Simulation { ID id; struct AnimData *adt; /* animation data (must be immediately after id) */ @@ -38,3 +42,7 @@ typedef struct Simulation { enum { SIM_DS_EXPAND = (1 << 0), }; + +#ifdef __cplusplus +} +#endif |