diff options
author | Tamito Kajiyama <rd6t-kjym@asahi-net.or.jp> | 2013-02-23 22:50:33 +0400 |
---|---|---|
committer | Tamito Kajiyama <rd6t-kjym@asahi-net.or.jp> | 2013-02-23 22:50:33 +0400 |
commit | 3bd0b8971615d6ddc309aa33a40f7ebf0c25b0c6 (patch) | |
tree | bf8c39da5bbc4baafffe492419f005859c3ae066 /source/blender/freestyle/intern/python/UnaryPredicate1D | |
parent | ad7c43744cd9b6920031f483e564d4b836f379c2 (diff) |
Code style clean-up.
Diffstat (limited to 'source/blender/freestyle/intern/python/UnaryPredicate1D')
10 files changed, 40 insertions, 40 deletions
diff --git a/source/blender/freestyle/intern/python/UnaryPredicate1D/BPy_ContourUP1D.h b/source/blender/freestyle/intern/python/UnaryPredicate1D/BPy_ContourUP1D.h index f2e1484b17f..a1a37b1526d 100644 --- a/source/blender/freestyle/intern/python/UnaryPredicate1D/BPy_ContourUP1D.h +++ b/source/blender/freestyle/intern/python/UnaryPredicate1D/BPy_ContourUP1D.h @@ -29,8 +29,8 @@ * \ingroup freestyle */ -#ifndef FREESTYLE_PYTHON_CONTOURUP1D_H -#define FREESTYLE_PYTHON_CONTOURUP1D_H +#ifndef __FREESTYLE_PYTHON_CONTOURUP1D_H__ +#define __FREESTYLE_PYTHON_CONTOURUP1D_H__ #include "../BPy_UnaryPredicate1D.h" @@ -44,7 +44,7 @@ extern "C" { extern PyTypeObject ContourUP1D_Type; -#define BPy_ContourUP1D_Check(v) ( PyObject_IsInstance( (PyObject *) v, (PyObject *) &ContourUP1D_Type) ) +#define BPy_ContourUP1D_Check(v) (PyObject_IsInstance((PyObject *)v, (PyObject *)&ContourUP1D_Type)) /*---------------------------Python BPy_ContourUP1D structure definition----------*/ typedef struct { @@ -57,4 +57,4 @@ typedef struct { } #endif -#endif /* FREESTYLE_PYTHON_CONTOURUP1D_H */ +#endif /* __FREESTYLE_PYTHON_CONTOURUP1D_H__ */ diff --git a/source/blender/freestyle/intern/python/UnaryPredicate1D/BPy_DensityLowerThanUP1D.h b/source/blender/freestyle/intern/python/UnaryPredicate1D/BPy_DensityLowerThanUP1D.h index 30e53bef9c9..65aeb24cec9 100644 --- a/source/blender/freestyle/intern/python/UnaryPredicate1D/BPy_DensityLowerThanUP1D.h +++ b/source/blender/freestyle/intern/python/UnaryPredicate1D/BPy_DensityLowerThanUP1D.h @@ -29,8 +29,8 @@ * \ingroup freestyle */ -#ifndef FREESTYLE_PYTHON_DENSITYLOWERTHANUP1D_H -#define FREESTYLE_PYTHON_DENSITYLOWERTHANUP1D_H +#ifndef __FREESTYLE_PYTHON_DENSITYLOWERTHANUP1D_H__ +#define __FREESTYLE_PYTHON_DENSITYLOWERTHANUP1D_H__ #include "../BPy_UnaryPredicate1D.h" @@ -44,7 +44,7 @@ extern "C" { extern PyTypeObject DensityLowerThanUP1D_Type; -#define BPy_DensityLowerThanUP1D_Check(v) ( PyObject_IsInstance( (PyObject *) v, (PyObject *) &DensityLowerThanUP1D_Type) ) +#define BPy_DensityLowerThanUP1D_Check(v) (PyObject_IsInstance((PyObject *)v, (PyObject *)&DensityLowerThanUP1D_Type)) /*---------------------------Python BPy_DensityLowerThanUP1D structure definition----------*/ typedef struct { @@ -57,4 +57,4 @@ typedef struct { } #endif -#endif /* FREESTYLE_PYTHON_DENSITYLOWERTHANUP1D_H */ +#endif /* __FREESTYLE_PYTHON_DENSITYLOWERTHANUP1D_H__ */ diff --git a/source/blender/freestyle/intern/python/UnaryPredicate1D/BPy_EqualToChainingTimeStampUP1D.h b/source/blender/freestyle/intern/python/UnaryPredicate1D/BPy_EqualToChainingTimeStampUP1D.h index a6827dcd6be..ae55215c1dd 100644 --- a/source/blender/freestyle/intern/python/UnaryPredicate1D/BPy_EqualToChainingTimeStampUP1D.h +++ b/source/blender/freestyle/intern/python/UnaryPredicate1D/BPy_EqualToChainingTimeStampUP1D.h @@ -29,8 +29,8 @@ * \ingroup freestyle */ -#ifndef FREESTYLE_PYTHON_EQUALTOCHAININGTIMESTAMPUP1D_H -#define FREESTYLE_PYTHON_EQUALTOCHAININGTIMESTAMPUP1D_H +#ifndef __FREESTYLE_PYTHON_EQUALTOCHAININGTIMESTAMPUP1D_H__ +#define __FREESTYLE_PYTHON_EQUALTOCHAININGTIMESTAMPUP1D_H__ #include "../BPy_UnaryPredicate1D.h" @@ -44,7 +44,7 @@ extern "C" { extern PyTypeObject EqualToChainingTimeStampUP1D_Type; -#define BPy_EqualToChainingTimeStampUP1D_Check(v) ( PyObject_IsInstance( (PyObject *) v, (PyObject *) &EqualToChainingTimeStampUP1D_Type) ) +#define BPy_EqualToChainingTimeStampUP1D_Check(v) (PyObject_IsInstance((PyObject *)v, (PyObject *)&EqualToChainingTimeStampUP1D_Type)) /*---------------------------Python BPy_EqualToChainingTimeStampUP1D structure definition----------*/ typedef struct { @@ -57,4 +57,4 @@ typedef struct { } #endif -#endif /* FREESTYLE_PYTHON_EQUALTOCHAININGTIMESTAMPUP1D_H */ +#endif /* __FREESTYLE_PYTHON_EQUALTOCHAININGTIMESTAMPUP1D_H__ */ diff --git a/source/blender/freestyle/intern/python/UnaryPredicate1D/BPy_EqualToTimeStampUP1D.h b/source/blender/freestyle/intern/python/UnaryPredicate1D/BPy_EqualToTimeStampUP1D.h index 34e90e996c3..07bd9c43cfa 100644 --- a/source/blender/freestyle/intern/python/UnaryPredicate1D/BPy_EqualToTimeStampUP1D.h +++ b/source/blender/freestyle/intern/python/UnaryPredicate1D/BPy_EqualToTimeStampUP1D.h @@ -29,8 +29,8 @@ * \ingroup freestyle */ -#ifndef FREESTYLE_PYTHON_EQUALTOTIMESTAMPUP1D_H -#define FREESTYLE_PYTHON_EQUALTOTIMESTAMPUP1D_H +#ifndef __FREESTYLE_PYTHON_EQUALTOTIMESTAMPUP1D_H__ +#define __FREESTYLE_PYTHON_EQUALTOTIMESTAMPUP1D_H__ #include "../BPy_UnaryPredicate1D.h" @@ -44,7 +44,7 @@ extern "C" { extern PyTypeObject EqualToTimeStampUP1D_Type; -#define BPy_EqualToTimeStampUP1D_Check(v) ( PyObject_IsInstance( (PyObject *) v, (PyObject *) &EqualToTimeStampUP1D_Type) ) +#define BPy_EqualToTimeStampUP1D_Check(v) (PyObject_IsInstance((PyObject *)v, (PyObject *)&EqualToTimeStampUP1D_Type)) /*---------------------------Python BPy_EqualToTimeStampUP1D structure definition----------*/ typedef struct { @@ -57,4 +57,4 @@ typedef struct { } #endif -#endif /* FREESTYLE_PYTHON_EQUALTOTIMESTAMPUP1D_H */ +#endif /* __FREESTYLE_PYTHON_EQUALTOTIMESTAMPUP1D_H__ */ diff --git a/source/blender/freestyle/intern/python/UnaryPredicate1D/BPy_ExternalContourUP1D.h b/source/blender/freestyle/intern/python/UnaryPredicate1D/BPy_ExternalContourUP1D.h index 873feaec36c..738f978555d 100644 --- a/source/blender/freestyle/intern/python/UnaryPredicate1D/BPy_ExternalContourUP1D.h +++ b/source/blender/freestyle/intern/python/UnaryPredicate1D/BPy_ExternalContourUP1D.h @@ -29,8 +29,8 @@ * \ingroup freestyle */ -#ifndef FREESTYLE_PYTHON_EXTERNALCONTOURUP1D_H -#define FREESTYLE_PYTHON_EXTERNALCONTOURUP1D_H +#ifndef __FREESTYLE_PYTHON_EXTERNALCONTOURUP1D_H__ +#define __FREESTYLE_PYTHON_EXTERNALCONTOURUP1D_H__ #include "../BPy_UnaryPredicate1D.h" @@ -44,7 +44,7 @@ extern "C" { extern PyTypeObject ExternalContourUP1D_Type; -#define BPy_ExternalContourUP1D_Check(v) ( PyObject_IsInstance( (PyObject *) v, (PyObject *) &ExternalContourUP1D_Type) ) +#define BPy_ExternalContourUP1D_Check(v) (PyObject_IsInstance((PyObject *)v, (PyObject *)&ExternalContourUP1D_Type)) /*---------------------------Python BPy_ExternalContourUP1D structure definition----------*/ typedef struct { @@ -57,4 +57,4 @@ typedef struct { } #endif -#endif /* FREESTYLE_PYTHON_EXTERNALCONTOURUP1D_H */ +#endif /* __FREESTYLE_PYTHON_EXTERNALCONTOURUP1D_H__ */ diff --git a/source/blender/freestyle/intern/python/UnaryPredicate1D/BPy_FalseUP1D.h b/source/blender/freestyle/intern/python/UnaryPredicate1D/BPy_FalseUP1D.h index 2a8886b8215..6d8412d16f5 100644 --- a/source/blender/freestyle/intern/python/UnaryPredicate1D/BPy_FalseUP1D.h +++ b/source/blender/freestyle/intern/python/UnaryPredicate1D/BPy_FalseUP1D.h @@ -29,8 +29,8 @@ * \ingroup freestyle */ -#ifndef FREESTYLE_PYTHON_FALSEUP1D_H -#define FREESTYLE_PYTHON_FALSEUP1D_H +#ifndef __FREESTYLE_PYTHON_FALSEUP1D_H__ +#define __FREESTYLE_PYTHON_FALSEUP1D_H__ #include "../BPy_UnaryPredicate1D.h" @@ -44,7 +44,7 @@ extern "C" { extern PyTypeObject FalseUP1D_Type; -#define BPy_FalseUP1D_Check(v) ( PyObject_IsInstance( (PyObject *) v, (PyObject *) &FalseUP1D_Type) ) +#define BPy_FalseUP1D_Check(v) (PyObject_IsInstance((PyObject *)v, (PyObject *)&FalseUP1D_Type)) /*---------------------------Python BPy_FalseUP1D structure definition----------*/ typedef struct { @@ -57,4 +57,4 @@ typedef struct { } #endif -#endif /* FREESTYLE_PYTHON_FALSEUP1D_H */ +#endif /* __FREESTYLE_PYTHON_FALSEUP1D_H__ */ diff --git a/source/blender/freestyle/intern/python/UnaryPredicate1D/BPy_QuantitativeInvisibilityUP1D.h b/source/blender/freestyle/intern/python/UnaryPredicate1D/BPy_QuantitativeInvisibilityUP1D.h index aaaa4b5cde4..fa2ebf9d369 100644 --- a/source/blender/freestyle/intern/python/UnaryPredicate1D/BPy_QuantitativeInvisibilityUP1D.h +++ b/source/blender/freestyle/intern/python/UnaryPredicate1D/BPy_QuantitativeInvisibilityUP1D.h @@ -29,8 +29,8 @@ * \ingroup freestyle */ -#ifndef FREESTYLE_PYTHON_QUANTITATIVEINVISIBILITYUP1D_H -#define FREESTYLE_PYTHON_QUANTITATIVEINVISIBILITYUP1D_H +#ifndef __FREESTYLE_PYTHON_QUANTITATIVEINVISIBILITYUP1D_H__ +#define __FREESTYLE_PYTHON_QUANTITATIVEINVISIBILITYUP1D_H__ #include "../BPy_UnaryPredicate1D.h" @@ -44,7 +44,7 @@ extern "C" { extern PyTypeObject QuantitativeInvisibilityUP1D_Type; -#define BPy_QuantitativeInvisibilityUP1D_Check(v) ( PyObject_IsInstance( (PyObject *) v, (PyObject *) &QuantitativeInvisibilityUP1D_Type) ) +#define BPy_QuantitativeInvisibilityUP1D_Check(v) (PyObject_IsInstance((PyObject *)v, (PyObject *)&QuantitativeInvisibilityUP1D_Type)) /*---------------------------Python BPy_QuantitativeInvisibilityUP1D structure definition----------*/ typedef struct { @@ -57,4 +57,4 @@ typedef struct { } #endif -#endif /* FREESTYLE_PYTHON_QUANTITATIVEINVISIBILITYUP1D_H */ +#endif /* __FREESTYLE_PYTHON_QUANTITATIVEINVISIBILITYUP1D_H__ */ diff --git a/source/blender/freestyle/intern/python/UnaryPredicate1D/BPy_ShapeUP1D.h b/source/blender/freestyle/intern/python/UnaryPredicate1D/BPy_ShapeUP1D.h index 35d5863f699..0d6f58534b2 100644 --- a/source/blender/freestyle/intern/python/UnaryPredicate1D/BPy_ShapeUP1D.h +++ b/source/blender/freestyle/intern/python/UnaryPredicate1D/BPy_ShapeUP1D.h @@ -29,8 +29,8 @@ * \ingroup freestyle */ -#ifndef FREESTYLE_PYTHON_SHAPEUP1D_H -#define FREESTYLE_PYTHON_SHAPEUP1D_H +#ifndef __FREESTYLE_PYTHON_SHAPEUP1D_H__ +#define __FREESTYLE_PYTHON_SHAPEUP1D_H__ #include "../BPy_UnaryPredicate1D.h" @@ -44,7 +44,7 @@ extern "C" { extern PyTypeObject ShapeUP1D_Type; -#define BPy_ShapeUP1D_Check(v) ( PyObject_IsInstance( (PyObject *) v, (PyObject *) &ShapeUP1D_Type) ) +#define BPy_ShapeUP1D_Check(v) (PyObject_IsInstance((PyObject *)v, (PyObject *)&ShapeUP1D_Type)) /*---------------------------Python BPy_ShapeUP1D structure definition----------*/ typedef struct { @@ -57,4 +57,4 @@ typedef struct { } #endif -#endif /* FREESTYLE_PYTHON_SHAPEUP1D_H */ +#endif /* __FREESTYLE_PYTHON_SHAPEUP1D_H__ */ diff --git a/source/blender/freestyle/intern/python/UnaryPredicate1D/BPy_TrueUP1D.h b/source/blender/freestyle/intern/python/UnaryPredicate1D/BPy_TrueUP1D.h index 41127c3ed0a..ceed608d059 100644 --- a/source/blender/freestyle/intern/python/UnaryPredicate1D/BPy_TrueUP1D.h +++ b/source/blender/freestyle/intern/python/UnaryPredicate1D/BPy_TrueUP1D.h @@ -29,8 +29,8 @@ * \ingroup freestyle */ -#ifndef FREESTYLE_PYTHON_TRUEUP1D_H -#define FREESTYLE_PYTHON_TRUEUP1D_H +#ifndef __FREESTYLE_PYTHON_TRUEUP1D_H__ +#define __FREESTYLE_PYTHON_TRUEUP1D_H__ #include "../BPy_UnaryPredicate1D.h" @@ -44,7 +44,7 @@ extern "C" { extern PyTypeObject TrueUP1D_Type; -#define BPy_TrueUP1D_Check(v) ( PyObject_IsInstance( (PyObject *) v, (PyObject *) &TrueUP1D_Type) ) +#define BPy_TrueUP1D_Check(v) (PyObject_IsInstance((PyObject *)v, (PyObject *)&TrueUP1D_Type)) /*---------------------------Python BPy_TrueUP1D structure definition----------*/ typedef struct { @@ -57,4 +57,4 @@ typedef struct { } #endif -#endif /* FREESTYLE_PYTHON_TRUEUP1D_H */ +#endif /* __FREESTYLE_PYTHON_TRUEUP1D_H__ */ diff --git a/source/blender/freestyle/intern/python/UnaryPredicate1D/BPy_WithinImageBoundaryUP1D.h b/source/blender/freestyle/intern/python/UnaryPredicate1D/BPy_WithinImageBoundaryUP1D.h index ec70e5ca1cd..cfab9981cbd 100644 --- a/source/blender/freestyle/intern/python/UnaryPredicate1D/BPy_WithinImageBoundaryUP1D.h +++ b/source/blender/freestyle/intern/python/UnaryPredicate1D/BPy_WithinImageBoundaryUP1D.h @@ -29,8 +29,8 @@ * \ingroup freestyle */ -#ifndef FREESTYLE_PYTHON_WITHINIMAGEBOUNDARYUP1D_H -#define FREESTYLE_PYTHON_WITHINIMAGEBOUNDARYUP1D_H +#ifndef __FREESTYLE_PYTHON_WITHINIMAGEBOUNDARYUP1D_H__ +#define __FREESTYLE_PYTHON_WITHINIMAGEBOUNDARYUP1D_H__ #include "../BPy_UnaryPredicate1D.h" @@ -44,7 +44,7 @@ extern "C" { extern PyTypeObject WithinImageBoundaryUP1D_Type; -#define BPy_WithinImageBoundaryUP1D_Check(v) ( PyObject_IsInstance( (PyObject *) v, (PyObject *) &WithinImageBoundaryUP1D_Type) ) +#define BPy_WithinImageBoundaryUP1D_Check(v) (PyObject_IsInstance((PyObject *)v, (PyObject *)&WithinImageBoundaryUP1D_Type)) /*---------------------------Python BPy_WithinImageBoundaryUP1D structure definition----------*/ typedef struct { @@ -57,4 +57,4 @@ typedef struct { } #endif -#endif /* FREESTYLE_PYTHON_WITHINIMAGEBOUNDARYUP1D_H */ +#endif /* __FREESTYLE_PYTHON_WITHINIMAGEBOUNDARYUP1D_H__ */ |