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:
authorCampbell Barton <ideasman42@gmail.com>2018-12-12 04:50:58 +0300
committerCampbell Barton <ideasman42@gmail.com>2018-12-12 04:50:58 +0300
commite757c4a3bec8b0e8d198531a28327332af00a9ba (patch)
tree4707fd51cffdbe932123a29bbcfe4528fc9c2b55 /source/blender/python
parentba8d6ca3dd92eed5d679caa28f5446cd07b8a112 (diff)
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.
Diffstat (limited to 'source/blender/python')
-rw-r--r--source/blender/python/bmesh/bmesh_py_ops_call.c18
-rw-r--r--source/blender/python/mathutils/mathutils_Matrix.c4
2 files changed, 11 insertions, 11 deletions
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)
{