Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'source/blender/blenfont/BLF_translation.h')
-rw-r--r--source/blender/blenfont/BLF_translation.h8
1 files changed, 8 insertions, 0 deletions
diff --git a/source/blender/blenfont/BLF_translation.h b/source/blender/blenfont/BLF_translation.h
index f59d3409b65..f7d2a306315 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
@@ -218,4 +222,8 @@ typedef struct
{NULL, NULL, NULL} \
}
+#ifdef __cplusplus
+};
+#endif
+
#endif /* __BLF_TRANSLATION_H__ */