From 333cdbb41025db012239e0549a439515880aad9b Mon Sep 17 00:00:00 2001 From: Campbell Barton Date: Thu, 18 Apr 2019 07:21:26 +0200 Subject: Cleanup: comment blocks --- .../blender/python/bmesh/bmesh_py_types_meshdata.c | 2 +- source/blender/python/intern/bpy_rna.c | 2 +- source/blender/python/mathutils/mathutils.h | 21 +++++++++++---------- 3 files changed, 13 insertions(+), 12 deletions(-) (limited to 'source/blender/python') 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); -- cgit v1.2.3