diff options
Diffstat (limited to 'source/blender/freestyle/intern/python/Iterator/BPy_CurvePointIterator.h')
-rw-r--r-- | source/blender/freestyle/intern/python/Iterator/BPy_CurvePointIterator.h | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/source/blender/freestyle/intern/python/Iterator/BPy_CurvePointIterator.h b/source/blender/freestyle/intern/python/Iterator/BPy_CurvePointIterator.h index 41a3007d12c..aa84b1020ce 100644 --- a/source/blender/freestyle/intern/python/Iterator/BPy_CurvePointIterator.h +++ b/source/blender/freestyle/intern/python/Iterator/BPy_CurvePointIterator.h @@ -33,12 +33,13 @@ extern "C" { extern PyTypeObject CurvePointIterator_Type; -#define BPy_CurvePointIterator_Check(v) (PyObject_IsInstance((PyObject *)v, (PyObject *)&CurvePointIterator_Type)) +#define BPy_CurvePointIterator_Check(v) \ + (PyObject_IsInstance((PyObject *)v, (PyObject *)&CurvePointIterator_Type)) /*---------------------------Python BPy_CurvePointIterator structure definition----------*/ typedef struct { - BPy_Iterator py_it; - CurveInternal::CurvePointIterator *cp_it; + BPy_Iterator py_it; + CurveInternal::CurvePointIterator *cp_it; } BPy_CurvePointIterator; /////////////////////////////////////////////////////////////////////////////////////////// |