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:
authorJacques Lucke <jacques@blender.org>2020-06-30 15:01:34 +0300
committerJacques Lucke <jacques@blender.org>2020-06-30 15:01:46 +0300
commit2a1af5fa4836a5cec6c464d581b4861579136476 (patch)
treed364cf9dac0a2878fabd3e8ad9fc59bc2bb33234 /source/blender/nodes/composite
parentbdbfdce766d2ad9b70ffada07b0b864db21ed640 (diff)
Cleanup: add missing extern "C"
Diffstat (limited to 'source/blender/nodes/composite')
-rw-r--r--source/blender/nodes/composite/node_composite_util.h8
1 files changed, 8 insertions, 0 deletions
diff --git a/source/blender/nodes/composite/node_composite_util.h b/source/blender/nodes/composite/node_composite_util.h
index 4372ef78bc0..0edc864e98f 100644
--- a/source/blender/nodes/composite/node_composite_util.h
+++ b/source/blender/nodes/composite/node_composite_util.h
@@ -49,6 +49,10 @@
/* only for forward declarations */
#include "NOD_composite.h"
+#ifdef __cplusplus
+extern "C" {
+#endif
+
#define CMP_SCALE_MAX 12000
bool cmp_node_poll_default(struct bNodeType *ntype, struct bNodeTree *ntree);
@@ -56,4 +60,8 @@ void cmp_node_update_default(struct bNodeTree *UNUSED(ntree), struct bNode *node
void cmp_node_type_base(
struct bNodeType *ntype, int type, const char *name, short nclass, short flag);
+#ifdef __cplusplus
+}
+#endif
+
#endif /* __NODE_COMPOSITE_UTIL_H__ */