[Bf-blender-cvs] [210c27eed34] temp-modifier-rm-cddm: Use 'struct' keyword

Sybren A. Stüvel noreply at git.blender.org
Wed Apr 25 11:45:25 CEST 2018

Commit: 210c27eed344d37587fd041bae4d3d3a7ef7eaf3
Author: Sybren A. Stüvel
Date:   Wed Apr 25 11:43:10 2018 +0200
Branches: temp-modifier-rm-cddm

Use 'struct' keyword

Without this, the forward declaration is useless as the real declaration
needs to be known by the compiler.


M	source/blender/modifiers/intern/MOD_util.h


diff --git a/source/blender/modifiers/intern/MOD_util.h b/source/blender/modifiers/intern/MOD_util.h
index b032770c4ca..f82b99165c9 100644
--- a/source/blender/modifiers/intern/MOD_util.h
+++ b/source/blender/modifiers/intern/MOD_util.h
@@ -52,6 +52,6 @@ struct DerivedMesh *get_dm_for_modifier(struct Object *ob, ModifierApplyFlag fla
 void modifier_get_vgroup(struct Object *ob, struct DerivedMesh *dm,
                          const char *name, struct MDeformVert **dvert, int *defgrp_index);
 void modifier_get_vgroup_mesh(struct Object *ob, struct Mesh *mesh,
-                              const char *name, MDeformVert **dvert, int *defgrp_index);
+                              const char *name, struct MDeformVert **dvert, int *defgrp_index);
 #endif /* __MOD_UTIL_H__ */

More information about the Bf-blender-cvs mailing list