Cleanup: Clang-Tidy readability-inconsistent-declaration-parameter-name fix
No functional changes
This commit is contained in:
@@ -36,7 +36,7 @@ void BPY_python_start(int argc, const char **argv);
|
||||
void BPY_python_end(void);
|
||||
void BPY_python_reset(struct bContext *C);
|
||||
void BPY_python_use_system_env(void);
|
||||
void BPY_python_backtrace(FILE *file);
|
||||
void BPY_python_backtrace(FILE *fp);
|
||||
|
||||
#ifdef __cplusplus
|
||||
} /* extern "C" */
|
||||
|
@@ -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)) { \
|
||||
|
@@ -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);
|
||||
}
|
||||
|
||||
|
@@ -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);
|
||||
|
@@ -32,4 +32,4 @@ typedef struct BPyGPUVertBuf {
|
||||
struct GPUVertBuf *buf;
|
||||
} BPyGPUVertBuf;
|
||||
|
||||
PyObject *BPyGPUVertBuf_CreatePyObject(struct GPUVertBuf *vbo) ATTR_NONNULL(1);
|
||||
PyObject *BPyGPUVertBuf_CreatePyObject(struct GPUVertBuf *buf) ATTR_NONNULL(1);
|
||||
|
@@ -32,8 +32,8 @@ PyObject *pyrna_callback_add(BPy_StructRNA *self, PyObject *args);
|
||||
PyObject *pyrna_callback_remove(BPy_StructRNA *self, PyObject *args);
|
||||
#endif
|
||||
|
||||
PyObject *pyrna_callback_classmethod_add(PyObject *cls, PyObject *args);
|
||||
PyObject *pyrna_callback_classmethod_remove(PyObject *cls, PyObject *args);
|
||||
PyObject *pyrna_callback_classmethod_add(PyObject *self, PyObject *args);
|
||||
PyObject *pyrna_callback_classmethod_remove(PyObject *self, PyObject *args);
|
||||
|
||||
#ifdef __cplusplus
|
||||
}
|
||||
|
@@ -90,7 +90,7 @@ void BaseMathObject_dealloc(BaseMathObject *self);
|
||||
|
||||
PyMODINIT_FUNC PyInit_mathutils(void);
|
||||
|
||||
int EXPP_FloatsAreEqual(float A, float B, int floatSteps);
|
||||
int EXPP_FloatsAreEqual(float A, float B, int maxDiff);
|
||||
int EXPP_VectorsAreEqual(const float *vecA, const float *vecB, int size, int floatSteps);
|
||||
|
||||
typedef struct Mathutils_Callback Mathutils_Callback;
|
||||
@@ -188,7 +188,7 @@ Py_hash_t mathutils_array_hash(const float *float_array, size_t array_len);
|
||||
|
||||
#define MU_ARRAY_FLAGS (MU_ARRAY_ZERO | MU_ARRAY_SPILL)
|
||||
|
||||
int column_vector_multiplication(float rvec[4], VectorObject *vec, MatrixObject *mat);
|
||||
int column_vector_multiplication(float r_vec[4], VectorObject *vec, MatrixObject *mat);
|
||||
|
||||
#ifndef MATH_STANDALONE
|
||||
/* dynstr as python string utility functions */
|
||||
|
@@ -48,7 +48,7 @@
|
||||
static PyObject *Vector_copy(VectorObject *self);
|
||||
static PyObject *Vector_deepcopy(VectorObject *self, PyObject *args);
|
||||
static PyObject *Vector_to_tuple_ex(VectorObject *self, int ndigits);
|
||||
static int row_vector_multiplication(float rvec[MAX_DIMENSIONS],
|
||||
static int row_vector_multiplication(float r_vec[MAX_DIMENSIONS],
|
||||
VectorObject *vec,
|
||||
MatrixObject *mat);
|
||||
|
||||
|
Reference in New Issue
Block a user