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:
authorSebastian Parborg <darkdefende@gmail.com>2020-09-04 21:59:13 +0300
committerSebastian Parborg <darkdefende@gmail.com>2020-09-04 22:04:16 +0300
commit2115232a16d81d28dbdb8042ed8e9316858514c6 (patch)
tree1aeb7354a85b21b43a3ede7bf2980c172d4eec82 /source/blender/python/bmesh
parente43d482cc93c64d55b1f58178db68551077e6560 (diff)
Cleanup: Clang-Tidy readability-inconsistent-declaration-parameter-name fix
No functional changes
Diffstat (limited to 'source/blender/python/bmesh')
-rw-r--r--source/blender/python/bmesh/bmesh_py_types.h2
-rw-r--r--source/blender/python/bmesh/bmesh_py_types_meshdata.c4
-rw-r--r--source/blender/python/bmesh/bmesh_py_types_meshdata.h12
3 files changed, 9 insertions, 9 deletions
diff --git a/source/blender/python/bmesh/bmesh_py_types.h b/source/blender/python/bmesh/bmesh_py_types.h
index 7ac3c4bf3cc..ce894760eff 100644
--- a/source/blender/python/bmesh/bmesh_py_types.h
+++ b/source/blender/python/bmesh/bmesh_py_types.h
@@ -176,7 +176,7 @@ int bpy_bm_generic_valid_check(BPy_BMGeneric *self);
int bpy_bm_generic_valid_check_source(BMesh *bm_source,
const char *error_prefix,
void **args,
- uint args_n) ATTR_NONNULL(1, 2);
+ uint args_tot) ATTR_NONNULL(1, 2);
#define BPY_BM_CHECK_OBJ(obj) \
if (UNLIKELY(bpy_bm_generic_valid_check((BPy_BMGeneric *)obj) == -1)) { \
diff --git a/source/blender/python/bmesh/bmesh_py_types_meshdata.c b/source/blender/python/bmesh/bmesh_py_types_meshdata.c
index f42348975c9..8214be3bd73 100644
--- a/source/blender/python/bmesh/bmesh_py_types_meshdata.c
+++ b/source/blender/python/bmesh/bmesh_py_types_meshdata.c
@@ -351,10 +351,10 @@ int BPy_BMLoopColor_AssignPyObject(struct MLoopCol *mloopcol, PyObject *value)
return -1;
}
-PyObject *BPy_BMLoopColor_CreatePyObject(struct MLoopCol *data)
+PyObject *BPy_BMLoopColor_CreatePyObject(struct MLoopCol *mloopcol)
{
PyObject *color_capsule;
- color_capsule = PyCapsule_New(data, NULL, NULL);
+ color_capsule = PyCapsule_New(mloopcol, NULL, NULL);
return Vector_CreatePyObject_cb(color_capsule, 4, mathutils_bmloopcol_cb_index, 0);
}
diff --git a/source/blender/python/bmesh/bmesh_py_types_meshdata.h b/source/blender/python/bmesh/bmesh_py_types_meshdata.h
index 58f31a9807e..b7699b387e5 100644
--- a/source/blender/python/bmesh/bmesh_py_types_meshdata.h
+++ b/source/blender/python/bmesh/bmesh_py_types_meshdata.h
@@ -37,14 +37,14 @@ struct MLoopCol;
struct MLoopUV;
struct MVertSkin;
-int BPy_BMLoopUV_AssignPyObject(struct MLoopUV *data, PyObject *value);
-PyObject *BPy_BMLoopUV_CreatePyObject(struct MLoopUV *data);
+int BPy_BMLoopUV_AssignPyObject(struct MLoopUV *mloopuv, PyObject *value);
+PyObject *BPy_BMLoopUV_CreatePyObject(struct MLoopUV *mloopuv);
-int BPy_BMVertSkin_AssignPyObject(struct MVertSkin *data, PyObject *value);
-PyObject *BPy_BMVertSkin_CreatePyObject(struct MVertSkin *data);
+int BPy_BMVertSkin_AssignPyObject(struct MVertSkin *mvertskin, PyObject *value);
+PyObject *BPy_BMVertSkin_CreatePyObject(struct MVertSkin *mvertskin);
-int BPy_BMLoopColor_AssignPyObject(struct MLoopCol *data, PyObject *value);
-PyObject *BPy_BMLoopColor_CreatePyObject(struct MLoopCol *data);
+int BPy_BMLoopColor_AssignPyObject(struct MLoopCol *mloopcol, PyObject *value);
+PyObject *BPy_BMLoopColor_CreatePyObject(struct MLoopCol *mloopcol);
int BPy_BMDeformVert_AssignPyObject(struct MDeformVert *dvert, PyObject *value);
PyObject *BPy_BMDeformVert_CreatePyObject(struct MDeformVert *dvert);