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/shader | |
parent | bdbfdce766d2ad9b70ffada07b0b864db21ed640 (diff) |
Cleanup: add missing extern "C"
Diffstat (limited to 'source/blender/nodes/shader')
-rw-r--r-- | source/blender/nodes/shader/node_shader_util.h | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/source/blender/nodes/shader/node_shader_util.h b/source/blender/nodes/shader/node_shader_util.h index 8834de0633e..fbb9979cdfa 100644 --- a/source/blender/nodes/shader/node_shader_util.h +++ b/source/blender/nodes/shader/node_shader_util.h @@ -69,6 +69,10 @@ #include "GPU_texture.h" #include "GPU_uniformbuffer.h" +#ifdef __cplusplus +extern "C" { +#endif + bool sh_node_poll_default(struct bNodeType *ntype, struct bNodeTree *ntree); void sh_node_type_base( struct bNodeType *ntype, int type, const char *name, short nclass, short flag); @@ -101,4 +105,8 @@ void ntreeExecGPUNodes(struct bNodeTreeExec *exec, struct GPUMaterial *mat, struct bNode *output_node); +#ifdef __cplusplus +} +#endif + #endif |