diff options
author | Campbell Barton <ideasman42@gmail.com> | 2016-05-16 20:07:40 +0300 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2016-05-16 20:07:40 +0300 |
commit | 0096bae8c4fbe0c2e3c0d84ed6abca67fc7cd825 (patch) | |
tree | 73c2f8a52d3ff4130775df1d9b8bdd935f47b0c9 /source/blender/blenkernel/intern/customdata.c | |
parent | 42f8232046aab78861d971461d990e53e5fb5ae1 (diff) |
Cleanup: use const args
Diffstat (limited to 'source/blender/blenkernel/intern/customdata.c')
-rw-r--r-- | source/blender/blenkernel/intern/customdata.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/source/blender/blenkernel/intern/customdata.c b/source/blender/blenkernel/intern/customdata.c index ffc440eab15..5e44060ab98 100644 --- a/source/blender/blenkernel/intern/customdata.c +++ b/source/blender/blenkernel/intern/customdata.c @@ -2281,7 +2281,7 @@ void CustomData_free_elem(CustomData *data, int index, int count) #define SOURCE_BUF_SIZE 100 void CustomData_interp(const CustomData *source, CustomData *dest, - int *src_indices, float *weights, float *sub_weights, + const int *src_indices, const float *weights, const float *sub_weights, int count, int dest_index) { int src_i, dest_i; @@ -3309,12 +3309,12 @@ void CustomData_from_bmesh_block(const CustomData *source, CustomData *dest, } -void CustomData_file_write_info(int type, const char **structname, int *structnum) +void CustomData_file_write_info(int type, const char **r_struct_name, int *r_struct_num) { const LayerTypeInfo *typeInfo = layerType_getInfo(type); - *structname = typeInfo->structname; - *structnum = typeInfo->structnum; + *r_struct_name = typeInfo->structname; + *r_struct_num = typeInfo->structnum; } /** |