diff options
Diffstat (limited to 'source/blender/freestyle/intern/python/Iterator/BPy_StrokeVertexIterator.h')
-rw-r--r-- | source/blender/freestyle/intern/python/Iterator/BPy_StrokeVertexIterator.h | 13 |
1 files changed, 7 insertions, 6 deletions
diff --git a/source/blender/freestyle/intern/python/Iterator/BPy_StrokeVertexIterator.h b/source/blender/freestyle/intern/python/Iterator/BPy_StrokeVertexIterator.h index 22bdf3341c4..04bca16337d 100644 --- a/source/blender/freestyle/intern/python/Iterator/BPy_StrokeVertexIterator.h +++ b/source/blender/freestyle/intern/python/Iterator/BPy_StrokeVertexIterator.h @@ -33,15 +33,16 @@ extern "C" { extern PyTypeObject StrokeVertexIterator_Type; -#define BPy_StrokeVertexIterator_Check(v) (PyObject_IsInstance((PyObject *)v, (PyObject *)&StrokeVertexIterator_Type)) +#define BPy_StrokeVertexIterator_Check(v) \ + (PyObject_IsInstance((PyObject *)v, (PyObject *)&StrokeVertexIterator_Type)) /*---------------------------Python BPy_StrokeVertexIterator structure definition----------*/ typedef struct { - BPy_Iterator py_it; - StrokeInternal::StrokeVertexIterator *sv_it; - bool reversed; - /* attribute to make next() work correctly */ - bool at_start; + BPy_Iterator py_it; + StrokeInternal::StrokeVertexIterator *sv_it; + bool reversed; + /* attribute to make next() work correctly */ + bool at_start; } BPy_StrokeVertexIterator; /////////////////////////////////////////////////////////////////////////////////////////// |