Cleanup: add semicolon after PyObject_VAR_HEAD
clang-format doesn't expand macros, add semicolon to prevent misleading formatting.
This commit is contained in:
@@ -26,7 +26,8 @@ extern PyTypeObject BPyGPUIndexBuf_Type;
|
||||
#define BPyGPUIndexBuf_Check(v) (Py_TYPE(v) == &BPyGPUIndexBuf_Type)
|
||||
|
||||
typedef struct BPyGPUIndexBuf {
|
||||
PyObject_VAR_HEAD struct GPUIndexBuf *elem;
|
||||
PyObject_VAR_HEAD;
|
||||
struct GPUIndexBuf *elem;
|
||||
} BPyGPUIndexBuf;
|
||||
|
||||
PyObject *BPyGPUIndexBuf_CreatePyObject(struct GPUIndexBuf *elem);
|
||||
|
||||
Reference in New Issue
Block a user