diff options
Diffstat (limited to 'source/blender/makesdna/DNA_text_types.h')
-rw-r--r-- | source/blender/makesdna/DNA_text_types.h | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/source/blender/makesdna/DNA_text_types.h b/source/blender/makesdna/DNA_text_types.h index 2dcb19d19b8..f63389bccf9 100644 --- a/source/blender/makesdna/DNA_text_types.h +++ b/source/blender/makesdna/DNA_text_types.h @@ -28,6 +28,10 @@ #include "DNA_ID.h" #include "DNA_listBase.h" +#ifdef __cplusplus +extern "C" { +#endif + typedef struct TextLine { struct TextLine *next, *prev; @@ -84,3 +88,7 @@ enum { /** Use space instead of tabs. */ TXT_TABSTOSPACES = 1 << 10, }; + +#ifdef __cplusplus +} +#endif |