diff options
author | Campbell Barton <ideasman42@gmail.com> | 2019-05-03 11:09:04 +0300 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2019-05-03 11:09:52 +0300 |
commit | 41a63556cffb13d38135fcb152b266c0fe72cef2 (patch) | |
tree | a671800325a919d4104c4527b7cb6b9362dc1190 /source/blender/python/generic/imbuf_py_api.c | |
parent | 688c7240be33df94658b18bce7c9535e74d7f577 (diff) |
Revert "Cleanup: add semicolon after PyObject_VAR_HEAD"
This reverts commit a01bcfa6366f893fbc8fdbf537d91ece4832ea03.
This causes MSVC2019 build to fail with error C2059
Unfortunately this means we have to put up with bad formatting
in Python structs.
Diffstat (limited to 'source/blender/python/generic/imbuf_py_api.c')
-rw-r--r-- | source/blender/python/generic/imbuf_py_api.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/source/blender/python/generic/imbuf_py_api.c b/source/blender/python/generic/imbuf_py_api.c index b848f9a3524..26e4e5bcf32 100644 --- a/source/blender/python/generic/imbuf_py_api.c +++ b/source/blender/python/generic/imbuf_py_api.c @@ -46,9 +46,9 @@ static PyObject *Py_ImBuf_CreatePyObject(ImBuf *ibuf); * \{ */ typedef struct Py_ImBuf { - PyObject_VAR_HEAD; - /* can be NULL */ - ImBuf *ibuf; + PyObject_VAR_HEAD + /* can be NULL */ + ImBuf *ibuf; } Py_ImBuf; static int py_imbuf_valid_check(Py_ImBuf *self) |