diff options
author | Campbell Barton <ideasman42@gmail.com> | 2021-04-01 03:15:47 +0300 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2021-04-01 03:18:26 +0300 |
commit | d5c6485372f5f01a3505dc331ebdab03cde353d0 (patch) | |
tree | 41add9049ee49a2ebb4ca256fb10897adadb7947 /source/blender/python/bmesh/bmesh_py_types.h | |
parent | 93972c8910081821d0c8361ba2a05c8af819b54d (diff) |
Cleanup: clang format
Diffstat (limited to 'source/blender/python/bmesh/bmesh_py_types.h')
-rw-r--r-- | source/blender/python/bmesh/bmesh_py_types.h | 27 |
1 files changed, 18 insertions, 9 deletions
diff --git a/source/blender/python/bmesh/bmesh_py_types.h b/source/blender/python/bmesh/bmesh_py_types.h index ce894760eff..ed307ce59a0 100644 --- a/source/blender/python/bmesh/bmesh_py_types.h +++ b/source/blender/python/bmesh/bmesh_py_types.h @@ -53,38 +53,45 @@ extern PyTypeObject BPy_BMIter_Type; /* cast from _any_ bmesh type - they all have BMesh first */ typedef struct BPy_BMGeneric { - PyObject_VAR_HEAD struct BMesh *bm; /* keep first */ + PyObject_VAR_HEAD + struct BMesh *bm; /* keep first */ } BPy_BMGeneric; /* BPy_BMVert/BPy_BMEdge/BPy_BMFace/BPy_BMLoop can cast to this */ typedef struct BPy_BMElem { - PyObject_VAR_HEAD struct BMesh *bm; /* keep first */ + PyObject_VAR_HEAD + struct BMesh *bm; /* keep first */ struct BMElem *ele; } BPy_BMElem; typedef struct BPy_BMesh { - PyObject_VAR_HEAD struct BMesh *bm; /* keep first */ + PyObject_VAR_HEAD + struct BMesh *bm; /* keep first */ int flag; } BPy_BMesh; /* element types */ typedef struct BPy_BMVert { - PyObject_VAR_HEAD struct BMesh *bm; /* keep first */ + PyObject_VAR_HEAD + struct BMesh *bm; /* keep first */ struct BMVert *v; } BPy_BMVert; typedef struct BPy_BMEdge { - PyObject_VAR_HEAD struct BMesh *bm; /* keep first */ + PyObject_VAR_HEAD + struct BMesh *bm; /* keep first */ struct BMEdge *e; } BPy_BMEdge; typedef struct BPy_BMFace { - PyObject_VAR_HEAD struct BMesh *bm; /* keep first */ + PyObject_VAR_HEAD + struct BMesh *bm; /* keep first */ struct BMFace *f; } BPy_BMFace; typedef struct BPy_BMLoop { - PyObject_VAR_HEAD struct BMesh *bm; /* keep first */ + PyObject_VAR_HEAD + struct BMesh *bm; /* keep first */ struct BMLoop *l; } BPy_BMLoop; @@ -98,7 +105,8 @@ typedef struct BPy_BMLoop { * - BPy_BMLoopSeq_Type */ typedef struct BPy_BMElemSeq { - PyObject_VAR_HEAD struct BMesh *bm; /* keep first */ + PyObject_VAR_HEAD + struct BMesh *bm; /* keep first */ /* if this is a sequence on an existing element, * loops of faces for eg. @@ -114,7 +122,8 @@ typedef struct BPy_BMElemSeq { } BPy_BMElemSeq; typedef struct BPy_BMIter { - PyObject_VAR_HEAD struct BMesh *bm; /* keep first */ + PyObject_VAR_HEAD + struct BMesh *bm; /* keep first */ BMIter iter; } BPy_BMIter; |