From a01bcfa6366f893fbc8fdbf537d91ece4832ea03 Mon Sep 17 00:00:00 2001 From: Campbell Barton Date: Fri, 3 May 2019 12:26:29 +1000 Subject: Cleanup: add semicolon after PyObject_VAR_HEAD clang-format doesn't expand macros, add semicolon to prevent misleading formatting. --- source/blender/python/gpu/gpu_py_vertex_buffer.h | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'source/blender/python/gpu/gpu_py_vertex_buffer.h') diff --git a/source/blender/python/gpu/gpu_py_vertex_buffer.h b/source/blender/python/gpu/gpu_py_vertex_buffer.h index b7124d245a9..484508b8875 100644 --- a/source/blender/python/gpu/gpu_py_vertex_buffer.h +++ b/source/blender/python/gpu/gpu_py_vertex_buffer.h @@ -28,9 +28,9 @@ extern PyTypeObject BPyGPUVertBuf_Type; #define BPyGPUVertBuf_Check(v) (Py_TYPE(v) == &BPyGPUVertBuf_Type) typedef struct BPyGPUVertBuf { - PyObject_VAR_HEAD - /* The buf is owned, we may support thin wrapped batches later. */ - struct GPUVertBuf *buf; + PyObject_VAR_HEAD; + /* The buf is owned, we may support thin wrapped batches later. */ + struct GPUVertBuf *buf; } BPyGPUVertBuf; PyObject *BPyGPUVertBuf_CreatePyObject(struct GPUVertBuf *vbo) ATTR_NONNULL(1); -- cgit v1.2.3