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:
authorJacques Lucke <jacques@blender.org>2022-05-09 17:59:31 +0300
committerJacques Lucke <jacques@blender.org>2022-05-09 17:59:48 +0300
commit9f8f35008ca907ea9a9511aff811452fb25fc560 (patch)
tree05ab44211a9eb82cfae75a7ffb19a82993b720bd /source/blender/modifiers/intern/MOD_util.h
parent5823e749dc91a1c150bbcca335f91cbc218b2eda (diff)
Move particle system modifier to C++
The modifier is supposed to create a Curves data block soon, which helps with the transition to the new Curves object in drawing code. Utilities for the new Curves object are mostly in C++.
Diffstat (limited to 'source/blender/modifiers/intern/MOD_util.h')
-rw-r--r--source/blender/modifiers/intern/MOD_util.h8
1 files changed, 8 insertions, 0 deletions
diff --git a/source/blender/modifiers/intern/MOD_util.h b/source/blender/modifiers/intern/MOD_util.h
index aef254b1103..c37d6a3f2c1 100644
--- a/source/blender/modifiers/intern/MOD_util.h
+++ b/source/blender/modifiers/intern/MOD_util.h
@@ -11,6 +11,10 @@
#include "DEG_depsgraph_build.h"
+#ifdef __cplusplus
+extern "C" {
+#endif
+
struct MDeformVert;
struct Mesh;
struct ModifierData;
@@ -51,3 +55,7 @@ void MOD_depsgraph_update_object_bone_relation(struct DepsNodeHandle *node,
struct Object *object,
const char *bonename,
const char *description);
+
+#ifdef __cplusplus
+}
+#endif \ No newline at end of file