From e757c4a3bec8b0e8d198531a28327332af00a9ba Mon Sep 17 00:00:00 2001 From: Campbell Barton Date: Wed, 12 Dec 2018 12:50:58 +1100 Subject: Cleanup: use colon separator after parameter Helps separate variable names from descriptive text. Was already used in some parts of the code, double space and dashes were used elsewhere. --- source/blender/python/bmesh/bmesh_py_ops_call.c | 18 +++++++++--------- source/blender/python/mathutils/mathutils_Matrix.c | 4 ++-- 2 files changed, 11 insertions(+), 11 deletions(-) (limited to 'source/blender/python') diff --git a/source/blender/python/bmesh/bmesh_py_ops_call.c b/source/blender/python/bmesh/bmesh_py_ops_call.c index 013a22fd563..14e14cd5fe3 100644 --- a/source/blender/python/bmesh/bmesh_py_ops_call.c +++ b/source/blender/python/bmesh/bmesh_py_ops_call.c @@ -65,10 +65,10 @@ static int bpy_bm_op_as_py_error(BMesh *bm) /** * \brief Utility function to check BMVert/BMEdge/BMFace's * - * \param value - * \param bm Check the \a value against this. - * \param htype Test \a value matches this type. - * \param descr Description text. + * \param value: + * \param bm: Check the \a value against this. + * \param htype: Test \a value matches this type. + * \param descr: Description text. */ static int bpy_slot_from_py_elem_check( BPy_BMElem *value, BMesh *bm, const char htype, @@ -103,11 +103,11 @@ static int bpy_slot_from_py_elem_check( /** * \brief Utility function to check BMVertSeq/BMEdgeSeq/BMFaceSeq's * - * \param value Caller must check its a BMeshSeq - * \param bm Check the \a value against this. - * \param htype_py The type(s) of \a value. - * \param htype_bmo The type(s) supported by the target slot. - * \param descr Description text. + * \param value: Caller must check its a BMeshSeq + * \param bm: Check the \a value against this. + * \param htype_py: The type(s) of \a value. + * \param htype_bmo: The type(s) supported by the target slot. + * \param descr: Description text. */ static int bpy_slot_from_py_elemseq_check( BPy_BMGeneric *value, BMesh *bm, diff --git a/source/blender/python/mathutils/mathutils_Matrix.c b/source/blender/python/mathutils/mathutils_Matrix.c index 951c094ec40..c72d3c31b1f 100644 --- a/source/blender/python/mathutils/mathutils_Matrix.c +++ b/source/blender/python/mathutils/mathutils_Matrix.c @@ -969,7 +969,7 @@ static void matrix_invert_with_det_n_internal(float *mat_dst, const float *mat_s } /** - * \param r_mat can be from ``self->matrix`` or not. + * \param r_mat: can be from ``self->matrix`` or not. */ static bool matrix_invert_internal(const MatrixObject *self, float *r_mat) { @@ -988,7 +988,7 @@ static bool matrix_invert_internal(const MatrixObject *self, float *r_mat) /** * Similar to ``matrix_invert_internal`` but should never error. - * \param r_mat can be from ``self->matrix`` or not. + * \param r_mat: can be from ``self->matrix`` or not. */ static void matrix_invert_safe_internal(const MatrixObject *self, float *r_mat) { -- cgit v1.2.3