Cleanup: add semicolon after PyObject_VAR_HEAD

clang-format doesn't expand macros,
add semicolon to prevent misleading formatting.
This commit is contained in:
2019-05-03 12:26:29 +10:00
parent b8226a3ae1
commit a01bcfa636
14 changed files with 63 additions and 37 deletions

View File

@@ -28,7 +28,8 @@ extern PyTypeObject BPyGPUVertFormat_Type;
#define BPyGPUVertFormat_Check(v) (Py_TYPE(v) == &BPyGPUVertFormat_Type)
typedef struct BPyGPUVertFormat {
PyObject_VAR_HEAD struct GPUVertFormat fmt;
PyObject_VAR_HEAD;
struct GPUVertFormat fmt;
} BPyGPUVertFormat;
PyObject *BPyGPUVertFormat_CreatePyObject(struct GPUVertFormat *fmt);