diff options
author | Campbell Barton <ideasman42@gmail.com> | 2011-11-16 21:09:41 +0400 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2011-11-16 21:09:41 +0400 |
commit | 9087cb91d40824abfb939d15832b159a7b3b6d24 (patch) | |
tree | f84f17aee7e84255770887728df4eb4e327a312b /source/blender/blenkernel/BKE_DerivedMesh.h | |
parent | aaf14ead155f1a9014195e11a1d8aca03311b0be (diff) |
quiet compiler warnings for BLI_array defines, split BLI_array_append into BLI_array_append / BLI_array_append_r, the latter returning the new array location.
Diffstat (limited to 'source/blender/blenkernel/BKE_DerivedMesh.h')
-rw-r--r-- | source/blender/blenkernel/BKE_DerivedMesh.h | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/source/blender/blenkernel/BKE_DerivedMesh.h b/source/blender/blenkernel/BKE_DerivedMesh.h index 284e916e9ee..819d6de70e9 100644 --- a/source/blender/blenkernel/BKE_DerivedMesh.h +++ b/source/blender/blenkernel/BKE_DerivedMesh.h @@ -440,13 +440,15 @@ void DM_set_only_copy(DerivedMesh *dm, CustomDataMask mask); * freed, see BKE_customdata.h for the different options */ void DM_add_vert_layer(struct DerivedMesh *dm, int type, int alloctype, - void *layer); + void *layer); void DM_add_edge_layer(struct DerivedMesh *dm, int type, int alloctype, - void *layer); + void *layer); void DM_add_tessface_layer(struct DerivedMesh *dm, int type, int alloctype, + void *layer); +void DM_add_loop_layer(DerivedMesh *dm, int type, int alloctype, void *layer); void DM_add_face_layer(struct DerivedMesh *dm, int type, int alloctype, - void *layer); + void *layer); /* custom data access functions * return pointer to data from first layer which matches type |