Cleanup: update clang-format so PyObject_HEAD indents properly

This commit is contained in:
2021-06-24 17:10:22 +10:00
parent 1f778dbefc
commit 6570159929
37 changed files with 71 additions and 45 deletions

View File

@@ -3479,7 +3479,7 @@ int Matrix_Parse4x4(PyObject *o, void *p)
typedef struct {
PyObject_HEAD /* Required Python macro. */
MatrixObject *matrix_user;
MatrixObject *matrix_user;
eMatrixAccess_t type;
} MatrixAccessObject;

View File

@@ -93,7 +93,8 @@ static const char PY_BVH_TREE_TYPE_DEFAULT = 4;
static const char PY_BVH_AXIS_DEFAULT = 6;
typedef struct {
PyObject_HEAD BVHTree *tree;
PyObject_HEAD
BVHTree *tree;
float epsilon;
float (*coords)[3];

View File

@@ -37,7 +37,8 @@
#include "BLI_strict_flags.h"
typedef struct {
PyObject_HEAD KDTree_3d *obj;
PyObject_HEAD
KDTree_3d *obj;
uint maxsize;
uint count;
uint count_balance; /* size when we last balanced */