diff options
author | Jacques Lucke <jacques@blender.org> | 2020-06-30 15:01:34 +0300 |
---|---|---|
committer | Jacques Lucke <jacques@blender.org> | 2020-06-30 15:01:46 +0300 |
commit | 2a1af5fa4836a5cec6c464d581b4861579136476 (patch) | |
tree | d364cf9dac0a2878fabd3e8ad9fc59bc2bb33234 /source/blender/nodes/texture | |
parent | bdbfdce766d2ad9b70ffada07b0b864db21ed640 (diff) |
Cleanup: add missing extern "C"
Diffstat (limited to 'source/blender/nodes/texture')
-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 |