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/editors/include/ED_numinput.h')
-rw-r--r--source/blender/editors/include/ED_numinput.h8
1 files changed, 8 insertions, 0 deletions
diff --git a/source/blender/editors/include/ED_numinput.h b/source/blender/editors/include/ED_numinput.h
index b13f228b1ec..8c8f3e6f4a3 100644
--- a/source/blender/editors/include/ED_numinput.h
+++ b/source/blender/editors/include/ED_numinput.h
@@ -21,6 +21,10 @@
#ifndef __ED_NUMINPUT_H__
#define __ED_NUMINPUT_H__
+#ifdef __cplusplus
+extern "C" {
+#endif
+
#define NUM_STR_REP_LEN 64
#define NUM_MAX_ELEMENTS 3
@@ -104,4 +108,8 @@ bool user_string_to_number(
/** \} */
+#ifdef __cplusplus
+}
+#endif
+
#endif /* __ED_NUMINPUT_H__ */