diff options
Diffstat (limited to 'source/blender/freestyle/intern/python/Iterator')
10 files changed, 40 insertions, 40 deletions
diff --git a/source/blender/freestyle/intern/python/Iterator/BPy_AdjacencyIterator.h b/source/blender/freestyle/intern/python/Iterator/BPy_AdjacencyIterator.h index d77e5322b73..d47a6f987e8 100644 --- a/source/blender/freestyle/intern/python/Iterator/BPy_AdjacencyIterator.h +++ b/source/blender/freestyle/intern/python/Iterator/BPy_AdjacencyIterator.h @@ -29,8 +29,8 @@ * \ingroup freestyle */ -#ifndef FREESTYLE_PYTHON_ADJACENCYITERATOR_H -#define FREESTYLE_PYTHON_ADJACENCYITERATOR_H +#ifndef __FREESTYLE_PYTHON_ADJACENCYITERATOR_H__ +#define __FREESTYLE_PYTHON_ADJACENCYITERATOR_H__ #include "../../stroke/ChainingIterators.h" #include "../BPy_Iterator.h" @@ -46,7 +46,7 @@ extern "C" { extern PyTypeObject AdjacencyIterator_Type; -#define BPy_AdjacencyIterator_Check(v) ( PyObject_IsInstance( (PyObject *) v, (PyObject *) &AdjacencyIterator_Type) ) +#define BPy_AdjacencyIterator_Check(v) (PyObject_IsInstance((PyObject *)v, (PyObject *)&AdjacencyIterator_Type)) /*---------------------------Python BPy_AdjacencyIterator structure definition----------*/ typedef struct { @@ -60,4 +60,4 @@ typedef struct { } #endif -#endif /* FREESTYLE_PYTHON_ADJACENCYITERATOR_H */ +#endif /* __FREESTYLE_PYTHON_ADJACENCYITERATOR_H__ */ diff --git a/source/blender/freestyle/intern/python/Iterator/BPy_ChainPredicateIterator.h b/source/blender/freestyle/intern/python/Iterator/BPy_ChainPredicateIterator.h index 64dfd609f6e..90bc9123694 100644 --- a/source/blender/freestyle/intern/python/Iterator/BPy_ChainPredicateIterator.h +++ b/source/blender/freestyle/intern/python/Iterator/BPy_ChainPredicateIterator.h @@ -29,8 +29,8 @@ * \ingroup freestyle */ -#ifndef FREESTYLE_PYTHON_CHAINPREDICATEITERATOR_H -#define FREESTYLE_PYTHON_CHAINPREDICATEITERATOR_H +#ifndef __FREESTYLE_PYTHON_CHAINPREDICATEITERATOR_H__ +#define __FREESTYLE_PYTHON_CHAINPREDICATEITERATOR_H__ #include "../../stroke/ChainingIterators.h" @@ -47,7 +47,7 @@ extern "C" { extern PyTypeObject ChainPredicateIterator_Type; -#define BPy_ChainPredicateIterator_Check(v) ( PyObject_IsInstance( (PyObject *) v, (PyObject *) &ChainPredicateIterator_Type) ) +#define BPy_ChainPredicateIterator_Check(v) (PyObject_IsInstance((PyObject *)v, (PyObject *)&ChainPredicateIterator_Type)) /*---------------------------Python BPy_ChainPredicateIterator structure definition----------*/ typedef struct { @@ -63,4 +63,4 @@ typedef struct { } #endif -#endif /* FREESTYLE_PYTHON_CHAINPREDICATEITERATOR_H */ +#endif /* __FREESTYLE_PYTHON_CHAINPREDICATEITERATOR_H__ */ diff --git a/source/blender/freestyle/intern/python/Iterator/BPy_ChainSilhouetteIterator.h b/source/blender/freestyle/intern/python/Iterator/BPy_ChainSilhouetteIterator.h index 0c02b1dc1a7..8c6f2983d3e 100644 --- a/source/blender/freestyle/intern/python/Iterator/BPy_ChainSilhouetteIterator.h +++ b/source/blender/freestyle/intern/python/Iterator/BPy_ChainSilhouetteIterator.h @@ -29,8 +29,8 @@ * \ingroup freestyle */ -#ifndef FREESTYLE_PYTHON_CHAINSILHOUETTEITERATOR_H -#define FREESTYLE_PYTHON_CHAINSILHOUETTEITERATOR_H +#ifndef __FREESTYLE_PYTHON_CHAINSILHOUETTEITERATOR_H__ +#define __FREESTYLE_PYTHON_CHAINSILHOUETTEITERATOR_H__ #include "../../stroke/ChainingIterators.h" @@ -47,7 +47,7 @@ extern "C" { extern PyTypeObject ChainSilhouetteIterator_Type; -#define BPy_ChainSilhouetteIterator_Check(v) ( PyObject_IsInstance( (PyObject *) v, (PyObject *) &ChainSilhouetteIterator_Type) ) +#define BPy_ChainSilhouetteIterator_Check(v) (PyObject_IsInstance((PyObject *)v, (PyObject *)&ChainSilhouetteIterator_Type)) /*---------------------------Python BPy_ChainSilhouetteIterator structure definition----------*/ typedef struct { @@ -61,4 +61,4 @@ typedef struct { } #endif -#endif /* FREESTYLE_PYTHON_CHAINSILHOUETTEITERATOR_H */ +#endif /* __FREESTYLE_PYTHON_CHAINSILHOUETTEITERATOR_H__ */ diff --git a/source/blender/freestyle/intern/python/Iterator/BPy_ChainingIterator.h b/source/blender/freestyle/intern/python/Iterator/BPy_ChainingIterator.h index fec44026457..b791e96a10c 100644 --- a/source/blender/freestyle/intern/python/Iterator/BPy_ChainingIterator.h +++ b/source/blender/freestyle/intern/python/Iterator/BPy_ChainingIterator.h @@ -29,8 +29,8 @@ * \ingroup freestyle */ -#ifndef FREESTYLE_PYTHON_CHAININGITERATOR_H -#define FREESTYLE_PYTHON_CHAININGITERATOR_H +#ifndef __FREESTYLE_PYTHON_CHAININGITERATOR_H__ +#define __FREESTYLE_PYTHON_CHAININGITERATOR_H__ #include "../../stroke/ChainingIterators.h" @@ -47,7 +47,7 @@ extern "C" { extern PyTypeObject ChainingIterator_Type; -#define BPy_ChainingIterator_Check(v) ( PyObject_IsInstance( (PyObject *) v, (PyObject *) &ChainingIterator_Type) ) +#define BPy_ChainingIterator_Check(v) (PyObject_IsInstance((PyObject *)v, (PyObject *)&ChainingIterator_Type)) /*---------------------------Python BPy_ChainingIterator structure definition----------*/ typedef struct { @@ -61,4 +61,4 @@ typedef struct { } #endif -#endif /* FREESTYLE_PYTHON_CHAININGITERATOR_H */ +#endif /* __FREESTYLE_PYTHON_CHAININGITERATOR_H__ */ diff --git a/source/blender/freestyle/intern/python/Iterator/BPy_CurvePointIterator.h b/source/blender/freestyle/intern/python/Iterator/BPy_CurvePointIterator.h index a4a8eb059ea..65b736aee12 100644 --- a/source/blender/freestyle/intern/python/Iterator/BPy_CurvePointIterator.h +++ b/source/blender/freestyle/intern/python/Iterator/BPy_CurvePointIterator.h @@ -29,8 +29,8 @@ * \ingroup freestyle */ -#ifndef FREESTYLE_PYTHON_CURVEPOINTITERATOR_H -#define FREESTYLE_PYTHON_CURVEPOINTITERATOR_H +#ifndef __FREESTYLE_PYTHON_CURVEPOINTITERATOR_H__ +#define __FREESTYLE_PYTHON_CURVEPOINTITERATOR_H__ #include "../../stroke/CurveIterators.h" @@ -46,7 +46,7 @@ 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 { @@ -60,4 +60,4 @@ typedef struct { } #endif -#endif /* FREESTYLE_PYTHON_CURVEPOINTITERATOR_H */ +#endif /* __FREESTYLE_PYTHON_CURVEPOINTITERATOR_H__ */ diff --git a/source/blender/freestyle/intern/python/Iterator/BPy_Interface0DIterator.h b/source/blender/freestyle/intern/python/Iterator/BPy_Interface0DIterator.h index 0a4afb495b7..72e827fce49 100644 --- a/source/blender/freestyle/intern/python/Iterator/BPy_Interface0DIterator.h +++ b/source/blender/freestyle/intern/python/Iterator/BPy_Interface0DIterator.h @@ -29,8 +29,8 @@ * \ingroup freestyle */ -#ifndef FREESTYLE_PYTHON_INTERFACE0DITERATOR_H -#define FREESTYLE_PYTHON_INTERFACE0DITERATOR_H +#ifndef __FREESTYLE_PYTHON_INTERFACE0DITERATOR_H__ +#define __FREESTYLE_PYTHON_INTERFACE0DITERATOR_H__ #include "../../view_map/Interface0D.h" #include "../BPy_Iterator.h" @@ -46,7 +46,7 @@ extern "C" { extern PyTypeObject Interface0DIterator_Type; -#define BPy_Interface0DIterator_Check(v) ( PyObject_IsInstance( (PyObject *) v, (PyObject *) &Interface0DIterator_Type) ) +#define BPy_Interface0DIterator_Check(v) (PyObject_IsInstance((PyObject *)v, (PyObject *)&Interface0DIterator_Type)) /*---------------------------Python BPy_Interface0DIterator structure definition----------*/ typedef struct { @@ -61,4 +61,4 @@ typedef struct { } #endif -#endif /* FREESTYLE_PYTHON_INTERFACE0DITERATOR_H */ +#endif /* __FREESTYLE_PYTHON_INTERFACE0DITERATOR_H__ */ diff --git a/source/blender/freestyle/intern/python/Iterator/BPy_SVertexIterator.h b/source/blender/freestyle/intern/python/Iterator/BPy_SVertexIterator.h index 3a4056e4f10..435559e6b44 100644 --- a/source/blender/freestyle/intern/python/Iterator/BPy_SVertexIterator.h +++ b/source/blender/freestyle/intern/python/Iterator/BPy_SVertexIterator.h @@ -29,8 +29,8 @@ * \ingroup freestyle */ -#ifndef FREESTYLE_PYTHON_SVERTEXITERATOR_H -#define FREESTYLE_PYTHON_SVERTEXITERATOR_H +#ifndef __FREESTYLE_PYTHON_SVERTEXITERATOR_H__ +#define __FREESTYLE_PYTHON_SVERTEXITERATOR_H__ #include "../../view_map/ViewMapIterators.h" @@ -47,7 +47,7 @@ extern "C" { extern PyTypeObject SVertexIterator_Type; -#define BPy_SVertexIterator_Check(v) ( PyObject_IsInstance( (PyObject *) v, (PyObject *) &SVertexIterator_Type) ) +#define BPy_SVertexIterator_Check(v) (PyObject_IsInstance((PyObject *)v, (PyObject *)&SVertexIterator_Type)) /*---------------------------Python BPy_SVertexIterator structure definition----------*/ typedef struct { @@ -61,4 +61,4 @@ typedef struct { } #endif -#endif /* FREESTYLE_PYTHON_SVERTEXITERATOR_H */ +#endif /* __FREESTYLE_PYTHON_SVERTEXITERATOR_H__ */ diff --git a/source/blender/freestyle/intern/python/Iterator/BPy_StrokeVertexIterator.h b/source/blender/freestyle/intern/python/Iterator/BPy_StrokeVertexIterator.h index 6fc7ba2bdd4..0c9bb0d0be7 100644 --- a/source/blender/freestyle/intern/python/Iterator/BPy_StrokeVertexIterator.h +++ b/source/blender/freestyle/intern/python/Iterator/BPy_StrokeVertexIterator.h @@ -29,8 +29,8 @@ * \ingroup freestyle */ -#ifndef FREESTYLE_PYTHON_STROKEVERTEXITERATOR_H -#define FREESTYLE_PYTHON_STROKEVERTEXITERATOR_H +#ifndef __FREESTYLE_PYTHON_STROKEVERTEXITERATOR_H__ +#define __FREESTYLE_PYTHON_STROKEVERTEXITERATOR_H__ #include "../../stroke/StrokeIterators.h" @@ -46,7 +46,7 @@ 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 { @@ -61,4 +61,4 @@ typedef struct { } #endif -#endif /* FREESTYLE_PYTHON_STROKEVERTEXITERATOR_H */ +#endif /* __FREESTYLE_PYTHON_STROKEVERTEXITERATOR_H__ */ diff --git a/source/blender/freestyle/intern/python/Iterator/BPy_ViewEdgeIterator.h b/source/blender/freestyle/intern/python/Iterator/BPy_ViewEdgeIterator.h index 1390e683cc6..dd8b1971e82 100644 --- a/source/blender/freestyle/intern/python/Iterator/BPy_ViewEdgeIterator.h +++ b/source/blender/freestyle/intern/python/Iterator/BPy_ViewEdgeIterator.h @@ -29,8 +29,8 @@ * \ingroup freestyle */ -#ifndef FREESTYLE_PYTHON_VIEWEDGEITERATOR_H -#define FREESTYLE_PYTHON_VIEWEDGEITERATOR_H +#ifndef __FREESTYLE_PYTHON_VIEWEDGEITERATOR_H__ +#define __FREESTYLE_PYTHON_VIEWEDGEITERATOR_H__ #include "../../view_map/ViewMapIterators.h" @@ -47,7 +47,7 @@ extern "C" { extern PyTypeObject ViewEdgeIterator_Type; -#define BPy_ViewEdgeIterator_Check(v) ( PyObject_IsInstance( (PyObject *) v, (PyObject *) &ViewEdgeIterator_Type) ) +#define BPy_ViewEdgeIterator_Check(v) (PyObject_IsInstance((PyObject *)v, (PyObject *)&ViewEdgeIterator_Type)) /*---------------------------Python BPy_ViewEdgeIterator structure definition----------*/ typedef struct { @@ -61,4 +61,4 @@ typedef struct { } #endif -#endif /* FREESTYLE_PYTHON_VIEWEDGEITERATOR_H */ +#endif /* __FREESTYLE_PYTHON_VIEWEDGEITERATOR_H__ */ diff --git a/source/blender/freestyle/intern/python/Iterator/BPy_orientedViewEdgeIterator.h b/source/blender/freestyle/intern/python/Iterator/BPy_orientedViewEdgeIterator.h index bb26fd915e5..84451a29347 100644 --- a/source/blender/freestyle/intern/python/Iterator/BPy_orientedViewEdgeIterator.h +++ b/source/blender/freestyle/intern/python/Iterator/BPy_orientedViewEdgeIterator.h @@ -29,8 +29,8 @@ * \ingroup freestyle */ -#ifndef FREESTYLE_PYTHON_ORIENTEDVIEWEDGEITERATOR_H -#define FREESTYLE_PYTHON_ORIENTEDVIEWEDGEITERATOR_H +#ifndef __FREESTYLE_PYTHON_ORIENTEDVIEWEDGEITERATOR_H__ +#define __FREESTYLE_PYTHON_ORIENTEDVIEWEDGEITERATOR_H__ #include "../../stroke/Stroke.h" #include "../../view_map/ViewMapIterators.h" @@ -47,7 +47,7 @@ extern "C" { extern PyTypeObject orientedViewEdgeIterator_Type; -#define BPy_orientedViewEdgeIterator_Check(v) ( PyObject_IsInstance( (PyObject *) v, (PyObject *) &orientedViewEdgeIterator_Type) ) +#define BPy_orientedViewEdgeIterator_Check(v) (PyObject_IsInstance((PyObject *)v, (PyObject *)&orientedViewEdgeIterator_Type)) /*---------------------------Python BPy_orientedViewEdgeIterator structure definition----------*/ typedef struct { @@ -62,4 +62,4 @@ typedef struct { } #endif -#endif /* FREESTYLE_PYTHON_ORIENTEDVIEWEDGEITERATOR_H */ +#endif /* __FREESTYLE_PYTHON_ORIENTEDVIEWEDGEITERATOR_H__ */ |