Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCampbell Barton <ideasman42@gmail.com>2019-05-03 05:26:29 +0300
committerCampbell Barton <ideasman42@gmail.com>2019-05-03 05:43:18 +0300
commita01bcfa6366f893fbc8fdbf537d91ece4832ea03 (patch)
tree51ab039984901c3bf8b41acd650ebd82ba90560b /source/blender/python/gpu/gpu_py_batch.h
parentb8226a3ae1f27330cdd3d14ba7d9f98f998a5ca5 (diff)
Cleanup: add semicolon after PyObject_VAR_HEAD
clang-format doesn't expand macros, add semicolon to prevent misleading formatting.
Diffstat (limited to 'source/blender/python/gpu/gpu_py_batch.h')
-rw-r--r--source/blender/python/gpu/gpu_py_batch.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/source/blender/python/gpu/gpu_py_batch.h b/source/blender/python/gpu/gpu_py_batch.h
index 1e916afcc2e..5ec1857fc1a 100644
--- a/source/blender/python/gpu/gpu_py_batch.h
+++ b/source/blender/python/gpu/gpu_py_batch.h
@@ -30,9 +30,9 @@ extern PyTypeObject BPyGPUBatch_Type;
#define BPyGPUBatch_Check(v) (Py_TYPE(v) == &BPyGPUBatch_Type)
typedef struct BPyGPUBatch {
- PyObject_VAR_HEAD
- /* The batch is owned, we may support thin wrapped batches later. */
- struct GPUBatch *batch;
+ PyObject_VAR_HEAD;
+ /* The batch is owned, we may support thin wrapped batches later. */
+ struct GPUBatch *batch;
#ifdef USE_GPU_PY_REFERENCES
/* Just to keep a user to prevent freeing buf's we're using */
PyObject *references;