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>2019-04-18 08:21:26 +0300
committerCampbell Barton <ideasman42@gmail.com>2019-04-18 08:59:28 +0300
commit333cdbb41025db012239e0549a439515880aad9b (patch)
tree7f34b68d8d412bd69073eabee1ed01e2ded0437f /source/blender/python
parent93e876c4f89909ff1e399d7f038aac134367b120 (diff)
Cleanup: comment blocks
Diffstat (limited to 'source/blender/python')
-rw-r--r--source/blender/python/bmesh/bmesh_py_types_meshdata.c2
-rw-r--r--source/blender/python/intern/bpy_rna.c2
-rw-r--r--source/blender/python/mathutils/mathutils.h21
3 files changed, 13 insertions, 12 deletions
diff --git a/source/blender/python/bmesh/bmesh_py_types_meshdata.c b/source/blender/python/bmesh/bmesh_py_types_meshdata.c
index 34a4ec3b1ed..0aa01ddb594 100644
--- a/source/blender/python/bmesh/bmesh_py_types_meshdata.c
+++ b/source/blender/python/bmesh/bmesh_py_types_meshdata.c
@@ -516,7 +516,7 @@ static PySequenceMethods bpy_bmdeformvert_as_sequence = {
NULL, /* sq_repeat */
/* note: if this is set PySequence_Check() returns True,
- * but in this case we dont want to be treated as a seq */
+ * but in this case we dont want to be treated as a seq */
NULL, /* sq_item */
NULL, /* sq_slice */
diff --git a/source/blender/python/intern/bpy_rna.c b/source/blender/python/intern/bpy_rna.c
index 1f041b4ca48..ed8bbe939af 100644
--- a/source/blender/python/intern/bpy_rna.c
+++ b/source/blender/python/intern/bpy_rna.c
@@ -7072,7 +7072,7 @@ static PyObject *pyrna_srna_Subtype(StructRNA *srna)
pyrna_subtype_set_rna(newclass, srna);
Py_INCREF(newclass);
} /* create a new class instance with the C api
- * mainly for the purposing of matching the C/rna type hierarchy */
+ * mainly for the purposing of matching the C/rna type hierarchy */
else {
/* subclass equivalents
* - class myClass(myBase):
diff --git a/source/blender/python/mathutils/mathutils.h b/source/blender/python/mathutils/mathutils.h
index 4ec2c869499..a69d00d10e7 100644
--- a/source/blender/python/mathutils/mathutils.h
+++ b/source/blender/python/mathutils/mathutils.h
@@ -52,16 +52,17 @@ enum {
#define BASE_MATH_FLAG_DEFAULT 0
#define BASE_MATH_MEMBERS(_data) \
- PyObject_VAR_HEAD float \
- *_data; /* array of data (alias), wrapped status depends on wrapped status */ \
- PyObject * \
- cb_user; /* if this vector references another object, otherwise NULL, \
- * *Note* this owns its reference */ \
- unsigned char cb_type; /* which user funcs do we adhere to, RNA, etc */ \
- unsigned char \
- cb_subtype; /* subtype: location, rotation... \
- * to avoid defining many new functions for every attribute of the same type */ \
- unsigned char flag /* wrapped data type? */
+ /** Array of data (alias), wrapped status depends on wrapped status. */ \
+ PyObject_VAR_HEAD float *_data; \
+ /** If this vector references another object, otherwise NULL, *Note* this owns its reference */ \
+ PyObject *cb_user; \
+ /** Which user funcs do we adhere to, RNA, etc */ \
+ unsigned char cb_type; \
+ /** Subtype: location, rotation... \
+ * to avoid defining many new functions for every attribute of the same type */ \
+ unsigned char cb_subtype; \
+ /** Wrapped data type. */ \
+ unsigned char flag
typedef struct {
BASE_MATH_MEMBERS(data);