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/mathutils/mathutils.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/mathutils/mathutils.h')
-rw-r--r--source/blender/python/mathutils/mathutils.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/source/blender/python/mathutils/mathutils.h b/source/blender/python/mathutils/mathutils.h
index 8afd60a7324..84e1c5869bc 100644
--- a/source/blender/python/mathutils/mathutils.h
+++ b/source/blender/python/mathutils/mathutils.h
@@ -53,7 +53,8 @@ enum {
#define BASE_MATH_MEMBERS(_data) \
/** Array of data (alias), wrapped status depends on wrapped status. */ \
- PyObject_VAR_HEAD float *_data; \
+ PyObject_VAR_HEAD; \
+ float *_data; \
/** If this vector references another object, otherwise NULL, *Note* this owns its reference */ \
PyObject *cb_user; \
/** Which user funcs do we adhere to, RNA, etc */ \