diff options
Diffstat (limited to 'source/blender/blenfont')
-rw-r--r-- | source/blender/blenfont/BLF_translation.h | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/source/blender/blenfont/BLF_translation.h b/source/blender/blenfont/BLF_translation.h index dc72c77b3bf..2fc179c8d35 100644 --- a/source/blender/blenfont/BLF_translation.h +++ b/source/blender/blenfont/BLF_translation.h @@ -37,6 +37,10 @@ #define TEXT_DOMAIN_NAME "blender" +#ifdef __cplusplus +extern "C" { +#endif + /* blf_lang.c */ /* Search the path directory to the locale files, this try all @@ -219,4 +223,8 @@ typedef struct {NULL, NULL, NULL} \ } +#ifdef __cplusplus +}; +#endif + #endif /* __BLF_TRANSLATION_H__ */ |