diff options
Diffstat (limited to 'source/blender/nodes/texture/node_texture_util.h')
-rw-r--r-- | source/blender/nodes/texture/node_texture_util.h | 8 |
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 |