Cleanup: add semicolon after PyObject_VAR_HEAD
clang-format doesn't expand macros, add semicolon to prevent misleading formatting.
This commit is contained in:
@@ -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);
|
||||
|
Reference in New Issue
Block a user