diff options
-rw-r--r-- | source/blender/blenfont/BLF_api.h | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/source/blender/blenfont/BLF_api.h b/source/blender/blenfont/BLF_api.h index 40abf93e944..fd6411f7c69 100644 --- a/source/blender/blenfont/BLF_api.h +++ b/source/blender/blenfont/BLF_api.h @@ -27,6 +27,10 @@ #include "BLI_compiler_attrs.h" #include "BLI_sys_types.h" +#ifdef __cplusplus +extern "C" { +#endif + /* enable this only if needed (unused circa 2016) */ #define BLF_BLUR_ENABLE 0 @@ -277,4 +281,8 @@ struct ResultBLF { int width; }; +#ifdef __cplusplus +} +#endif + #endif /* __BLF_API_H__ */ |