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/nodes/texture/node_texture_util.h')
-rw-r--r--source/blender/nodes/texture/node_texture_util.h8
1 files changed, 8 insertions, 0 deletions
diff --git a/source/blender/nodes/texture/node_texture_util.h b/source/blender/nodes/texture/node_texture_util.h
index b3407f68857..7b8581c1f89 100644
--- a/source/blender/nodes/texture/node_texture_util.h
+++ b/source/blender/nodes/texture/node_texture_util.h
@@ -64,6 +64,10 @@
#include "RE_pipeline.h"
#include "RE_shader_ext.h"
+#ifdef __cplusplus
+extern "C" {
+#endif
+
typedef struct TexCallData {
TexResult *target;
/* all float[3] */
@@ -124,4 +128,8 @@ void tex_do_preview(bNodePreview *preview,
void params_from_cdata(TexParams *out, TexCallData *in);
+#ifdef __cplusplus
+}
+#endif
+
#endif