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/blenkernel/particle_private.h')
-rw-r--r--source/blender/blenkernel/particle_private.h8
1 files changed, 8 insertions, 0 deletions
diff --git a/source/blender/blenkernel/particle_private.h b/source/blender/blenkernel/particle_private.h
index 2a4ffa3d22a..6f80089be29 100644
--- a/source/blender/blenkernel/particle_private.h
+++ b/source/blender/blenkernel/particle_private.h
@@ -24,6 +24,10 @@
#ifndef __PARTICLE_PRIVATE_H__
#define __PARTICLE_PRIVATE_H__
+#ifdef __cplusplus
+extern "C" {
+#endif
+
typedef struct ParticleChildModifierContext {
ParticleThreadContext *thread_ctx;
ParticleSimulationData *sim;
@@ -65,4 +69,8 @@ void do_child_modifiers(const ParticleChildModifierContext *modifier_ctx,
ParticleKey *state,
float t);
+#ifdef __cplusplus
+}
+#endif
+
#endif /* __PARTICLE_PRIVATE_H__ */