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/UnaryFunction1D/UnaryFunction1D_double | |
parent | ad7c43744cd9b6920031f483e564d4b836f379c2 (diff) |
Code style clean-up.
Diffstat (limited to 'source/blender/freestyle/intern/python/UnaryFunction1D/UnaryFunction1D_double')
14 files changed, 56 insertions, 56 deletions
diff --git a/source/blender/freestyle/intern/python/UnaryFunction1D/UnaryFunction1D_double/BPy_Curvature2DAngleF1D.h b/source/blender/freestyle/intern/python/UnaryFunction1D/UnaryFunction1D_double/BPy_Curvature2DAngleF1D.h index c64de18a7e8..3f14d6545f9 100644 --- a/source/blender/freestyle/intern/python/UnaryFunction1D/UnaryFunction1D_double/BPy_Curvature2DAngleF1D.h +++ b/source/blender/freestyle/intern/python/UnaryFunction1D/UnaryFunction1D_double/BPy_Curvature2DAngleF1D.h @@ -29,8 +29,8 @@ * \ingroup freestyle */ -#ifndef FREESTYLE_PYTHON_CURVATURE2DANGLEF1D_H -#define FREESTYLE_PYTHON_CURVATURE2DANGLEF1D_H +#ifndef __FREESTYLE_PYTHON_CURVATURE2DANGLEF1D_H__ +#define __FREESTYLE_PYTHON_CURVATURE2DANGLEF1D_H__ #include "../BPy_UnaryFunction1DDouble.h" @@ -44,7 +44,7 @@ extern "C" { extern PyTypeObject Curvature2DAngleF1D_Type; -#define BPy_Curvature2DAngleF1D_Check(v) ( PyObject_IsInstance( (PyObject *) v, (PyObject *) &Curvature2DAngleF1D_Type) ) +#define BPy_Curvature2DAngleF1D_Check(v) (PyObject_IsInstance((PyObject *)v, (PyObject *)&Curvature2DAngleF1D_Type)) /*---------------------------Python BPy_Curvature2DAngleF1D structure definition----------*/ typedef struct { @@ -58,4 +58,4 @@ typedef struct { } #endif -#endif /* FREESTYLE_PYTHON_CURVATURE2DANGLEF1D_H */ +#endif /* __FREESTYLE_PYTHON_CURVATURE2DANGLEF1D_H__ */ diff --git a/source/blender/freestyle/intern/python/UnaryFunction1D/UnaryFunction1D_double/BPy_DensityF1D.h b/source/blender/freestyle/intern/python/UnaryFunction1D/UnaryFunction1D_double/BPy_DensityF1D.h index 4a223cff46b..88cbe5f47f0 100644 --- a/source/blender/freestyle/intern/python/UnaryFunction1D/UnaryFunction1D_double/BPy_DensityF1D.h +++ b/source/blender/freestyle/intern/python/UnaryFunction1D/UnaryFunction1D_double/BPy_DensityF1D.h @@ -29,8 +29,8 @@ * \ingroup freestyle */ -#ifndef FREESTYLE_PYTHON_DENSITYF1D_H -#define FREESTYLE_PYTHON_DENSITYF1D_H +#ifndef __FREESTYLE_PYTHON_DENSITYF1D_H__ +#define __FREESTYLE_PYTHON_DENSITYF1D_H__ #include "../BPy_UnaryFunction1DDouble.h" @@ -44,7 +44,7 @@ extern "C" { extern PyTypeObject DensityF1D_Type; -#define BPy_DensityF1D_Check(v) ( PyObject_IsInstance( (PyObject *) v, (PyObject *) &DensityF1D_Type) ) +#define BPy_DensityF1D_Check(v) (PyObject_IsInstance((PyObject *)v, (PyObject *)&DensityF1D_Type)) /*---------------------------Python BPy_DensityF1D structure definition----------*/ typedef struct { @@ -58,4 +58,4 @@ typedef struct { } #endif -#endif /* FREESTYLE_PYTHON_DENSITYF1D_H */ +#endif /* __FREESTYLE_PYTHON_DENSITYF1D_H__ */ diff --git a/source/blender/freestyle/intern/python/UnaryFunction1D/UnaryFunction1D_double/BPy_GetCompleteViewMapDensityF1D.h b/source/blender/freestyle/intern/python/UnaryFunction1D/UnaryFunction1D_double/BPy_GetCompleteViewMapDensityF1D.h index 594c736c085..a40e15a8239 100644 --- a/source/blender/freestyle/intern/python/UnaryFunction1D/UnaryFunction1D_double/BPy_GetCompleteViewMapDensityF1D.h +++ b/source/blender/freestyle/intern/python/UnaryFunction1D/UnaryFunction1D_double/BPy_GetCompleteViewMapDensityF1D.h @@ -29,8 +29,8 @@ * \ingroup freestyle */ -#ifndef FREESTYLE_PYTHON_GETCOMPLETEVIEWMAPDENSITYF1D_H -#define FREESTYLE_PYTHON_GETCOMPLETEVIEWMAPDENSITYF1D_H +#ifndef __FREESTYLE_PYTHON_GETCOMPLETEVIEWMAPDENSITYF1D_H__ +#define __FREESTYLE_PYTHON_GETCOMPLETEVIEWMAPDENSITYF1D_H__ #include "../BPy_UnaryFunction1DDouble.h" @@ -44,7 +44,7 @@ extern "C" { extern PyTypeObject GetCompleteViewMapDensityF1D_Type; -#define BPy_GetCompleteViewMapDensityF1D_Check(v) ( PyObject_IsInstance( (PyObject *) v, (PyObject *) &GetCompleteViewMapDensityF1D_Type) ) +#define BPy_GetCompleteViewMapDensityF1D_Check(v) (PyObject_IsInstance((PyObject *)v, (PyObject *)&GetCompleteViewMapDensityF1D_Type)) /*---------------------------Python BPy_GetCompleteViewMapDensityF1D structure definition----------*/ typedef struct { @@ -58,4 +58,4 @@ typedef struct { } #endif -#endif /* FREESTYLE_PYTHON_GETCOMPLETEVIEWMAPDENSITYF1D_H */ +#endif /* __FREESTYLE_PYTHON_GETCOMPLETEVIEWMAPDENSITYF1D_H__ */ diff --git a/source/blender/freestyle/intern/python/UnaryFunction1D/UnaryFunction1D_double/BPy_GetDirectionalViewMapDensityF1D.h b/source/blender/freestyle/intern/python/UnaryFunction1D/UnaryFunction1D_double/BPy_GetDirectionalViewMapDensityF1D.h index c778024915a..e18012fdcb4 100644 --- a/source/blender/freestyle/intern/python/UnaryFunction1D/UnaryFunction1D_double/BPy_GetDirectionalViewMapDensityF1D.h +++ b/source/blender/freestyle/intern/python/UnaryFunction1D/UnaryFunction1D_double/BPy_GetDirectionalViewMapDensityF1D.h @@ -29,8 +29,8 @@ * \ingroup freestyle */ -#ifndef FREESTYLE_PYTHON_GETDIRECTIONALVIEWMAPDENSITYF1D_H -#define FREESTYLE_PYTHON_GETDIRECTIONALVIEWMAPDENSITYF1D_H +#ifndef __FREESTYLE_PYTHON_GETDIRECTIONALVIEWMAPDENSITYF1D_H__ +#define __FREESTYLE_PYTHON_GETDIRECTIONALVIEWMAPDENSITYF1D_H__ #include "../BPy_UnaryFunction1DDouble.h" @@ -44,7 +44,7 @@ extern "C" { extern PyTypeObject GetDirectionalViewMapDensityF1D_Type; -#define BPy_GetDirectionalViewMapDensityF1D_Check(v) ( PyObject_IsInstance( (PyObject *) v, (PyObject *) &GetDirectionalViewMapDensityF1D_Type) ) +#define BPy_GetDirectionalViewMapDensityF1D_Check(v) (PyObject_IsInstance((PyObject *)v, (PyObject *)&GetDirectionalViewMapDensityF1D_Type)) /*---------------------------Python BPy_GetDirectionalViewMapDensityF1D structure definition----------*/ typedef struct { @@ -58,4 +58,4 @@ typedef struct { } #endif -#endif /* FREESTYLE_PYTHON_GETDIRECTIONALVIEWMAPDENSITYF1D_H */ +#endif /* __FREESTYLE_PYTHON_GETDIRECTIONALVIEWMAPDENSITYF1D_H__ */ diff --git a/source/blender/freestyle/intern/python/UnaryFunction1D/UnaryFunction1D_double/BPy_GetProjectedXF1D.h b/source/blender/freestyle/intern/python/UnaryFunction1D/UnaryFunction1D_double/BPy_GetProjectedXF1D.h index fd8a4d55235..2e45eecc04d 100644 --- a/source/blender/freestyle/intern/python/UnaryFunction1D/UnaryFunction1D_double/BPy_GetProjectedXF1D.h +++ b/source/blender/freestyle/intern/python/UnaryFunction1D/UnaryFunction1D_double/BPy_GetProjectedXF1D.h @@ -29,8 +29,8 @@ * \ingroup freestyle */ -#ifndef FREESTYLE_PYTHON_GETPROJECTEDXF1D_H -#define FREESTYLE_PYTHON_GETPROJECTEDXF1D_H +#ifndef __FREESTYLE_PYTHON_GETPROJECTEDXF1D_H__ +#define __FREESTYLE_PYTHON_GETPROJECTEDXF1D_H__ #include "../BPy_UnaryFunction1DDouble.h" @@ -44,7 +44,7 @@ extern "C" { extern PyTypeObject GetProjectedXF1D_Type; -#define BPy_GetProjectedXF1D_Check(v) ( PyObject_IsInstance( (PyObject *) v, (PyObject *) &GetProjectedXF1D_Type) ) +#define BPy_GetProjectedXF1D_Check(v) (PyObject_IsInstance((PyObject *)v, (PyObject *)&GetProjectedXF1D_Type)) /*---------------------------Python BPy_GetProjectedXF1D structure definition----------*/ typedef struct { @@ -58,4 +58,4 @@ typedef struct { } #endif -#endif /* FREESTYLE_PYTHON_GETPROJECTEDXF1D_H */ +#endif /* __FREESTYLE_PYTHON_GETPROJECTEDXF1D_H__ */ diff --git a/source/blender/freestyle/intern/python/UnaryFunction1D/UnaryFunction1D_double/BPy_GetProjectedYF1D.h b/source/blender/freestyle/intern/python/UnaryFunction1D/UnaryFunction1D_double/BPy_GetProjectedYF1D.h index 4e8bf3b1c30..0ab3ea8e82b 100644 --- a/source/blender/freestyle/intern/python/UnaryFunction1D/UnaryFunction1D_double/BPy_GetProjectedYF1D.h +++ b/source/blender/freestyle/intern/python/UnaryFunction1D/UnaryFunction1D_double/BPy_GetProjectedYF1D.h @@ -29,8 +29,8 @@ * \ingroup freestyle */ -#ifndef FREESTYLE_PYTHON_GETPROJECTEDYF1D_H -#define FREESTYLE_PYTHON_GETPROJECTEDYF1D_H +#ifndef __FREESTYLE_PYTHON_GETPROJECTEDYF1D_H__ +#define __FREESTYLE_PYTHON_GETPROJECTEDYF1D_H__ #include "../BPy_UnaryFunction1DDouble.h" @@ -44,7 +44,7 @@ extern "C" { extern PyTypeObject GetProjectedYF1D_Type; -#define BPy_GetProjectedYF1D_Check(v) ( PyObject_IsInstance( (PyObject *) v, (PyObject *) &GetProjectedYF1D_Type) ) +#define BPy_GetProjectedYF1D_Check(v) (PyObject_IsInstance((PyObject *)v, (PyObject *)&GetProjectedYF1D_Type)) /*---------------------------Python BPy_GetProjectedYF1D structure definition----------*/ typedef struct { @@ -58,4 +58,4 @@ typedef struct { } #endif -#endif /* FREESTYLE_PYTHON_GETPROJECTEDYF1D_H */ +#endif /* __FREESTYLE_PYTHON_GETPROJECTEDYF1D_H__ */ diff --git a/source/blender/freestyle/intern/python/UnaryFunction1D/UnaryFunction1D_double/BPy_GetProjectedZF1D.h b/source/blender/freestyle/intern/python/UnaryFunction1D/UnaryFunction1D_double/BPy_GetProjectedZF1D.h index 2b2feede20f..d65160dcfe8 100644 --- a/source/blender/freestyle/intern/python/UnaryFunction1D/UnaryFunction1D_double/BPy_GetProjectedZF1D.h +++ b/source/blender/freestyle/intern/python/UnaryFunction1D/UnaryFunction1D_double/BPy_GetProjectedZF1D.h @@ -29,8 +29,8 @@ * \ingroup freestyle */ -#ifndef FREESTYLE_PYTHON_GETPROJECTEDZF1D_H -#define FREESTYLE_PYTHON_GETPROJECTEDZF1D_H +#ifndef __FREESTYLE_PYTHON_GETPROJECTEDZF1D_H__ +#define __FREESTYLE_PYTHON_GETPROJECTEDZF1D_H__ #include "../BPy_UnaryFunction1DDouble.h" @@ -44,7 +44,7 @@ extern "C" { extern PyTypeObject GetProjectedZF1D_Type; -#define BPy_GetProjectedZF1D_Check(v) ( PyObject_IsInstance( (PyObject *) v, (PyObject *) &GetProjectedZF1D_Type) ) +#define BPy_GetProjectedZF1D_Check(v) (PyObject_IsInstance((PyObject *)v, (PyObject *)&GetProjectedZF1D_Type)) /*---------------------------Python BPy_GetProjectedZF1D structure definition----------*/ typedef struct { @@ -58,4 +58,4 @@ typedef struct { } #endif -#endif /* FREESTYLE_PYTHON_GETPROJECTEDZF1D_H */ +#endif /* __FREESTYLE_PYTHON_GETPROJECTEDZF1D_H__ */ diff --git a/source/blender/freestyle/intern/python/UnaryFunction1D/UnaryFunction1D_double/BPy_GetSteerableViewMapDensityF1D.h b/source/blender/freestyle/intern/python/UnaryFunction1D/UnaryFunction1D_double/BPy_GetSteerableViewMapDensityF1D.h index 93bf33d045c..30668a08e8f 100644 --- a/source/blender/freestyle/intern/python/UnaryFunction1D/UnaryFunction1D_double/BPy_GetSteerableViewMapDensityF1D.h +++ b/source/blender/freestyle/intern/python/UnaryFunction1D/UnaryFunction1D_double/BPy_GetSteerableViewMapDensityF1D.h @@ -29,8 +29,8 @@ * \ingroup freestyle */ -#ifndef FREESTYLE_PYTHON_GETSTEERABLEVIEWMAPDENSITYF1D_H -#define FREESTYLE_PYTHON_GETSTEERABLEVIEWMAPDENSITYF1D_H +#ifndef __FREESTYLE_PYTHON_GETSTEERABLEVIEWMAPDENSITYF1D_H__ +#define __FREESTYLE_PYTHON_GETSTEERABLEVIEWMAPDENSITYF1D_H__ #include "../BPy_UnaryFunction1DDouble.h" @@ -44,7 +44,7 @@ extern "C" { extern PyTypeObject GetSteerableViewMapDensityF1D_Type; -#define BPy_GetSteerableViewMapDensityF1D_Check(v) ( PyObject_IsInstance( (PyObject *) v, (PyObject *) &GetSteerableViewMapDensityF1D_Type) ) +#define BPy_GetSteerableViewMapDensityF1D_Check(v) (PyObject_IsInstance((PyObject *)v, (PyObject *)&GetSteerableViewMapDensityF1D_Type)) /*---------------------------Python BPy_GetSteerableViewMapDensityF1D structure definition----------*/ typedef struct { BPy_UnaryFunction1DDouble py_uf1D_double; @@ -57,4 +57,4 @@ typedef struct { } #endif -#endif /* FREESTYLE_PYTHON_GETSTEERABLEVIEWMAPDENSITYF1D_H */ +#endif /* __FREESTYLE_PYTHON_GETSTEERABLEVIEWMAPDENSITYF1D_H__ */ diff --git a/source/blender/freestyle/intern/python/UnaryFunction1D/UnaryFunction1D_double/BPy_GetViewMapGradientNormF1D.h b/source/blender/freestyle/intern/python/UnaryFunction1D/UnaryFunction1D_double/BPy_GetViewMapGradientNormF1D.h index 23cd18f29ca..ffcc8faf952 100644 --- a/source/blender/freestyle/intern/python/UnaryFunction1D/UnaryFunction1D_double/BPy_GetViewMapGradientNormF1D.h +++ b/source/blender/freestyle/intern/python/UnaryFunction1D/UnaryFunction1D_double/BPy_GetViewMapGradientNormF1D.h @@ -29,8 +29,8 @@ * \ingroup freestyle */ -#ifndef FREESTYLE_PYTHON_GETVIEWMAPGRADIENTNORMF1D_H -#define FREESTYLE_PYTHON_GETVIEWMAPGRADIENTNORMF1D_H +#ifndef __FREESTYLE_PYTHON_GETVIEWMAPGRADIENTNORMF1D_H__ +#define __FREESTYLE_PYTHON_GETVIEWMAPGRADIENTNORMF1D_H__ #include "../BPy_UnaryFunction1DDouble.h" @@ -44,7 +44,7 @@ extern "C" { extern PyTypeObject GetViewMapGradientNormF1D_Type; -#define BPy_GetViewMapGradientNormF1D_Check(v) ( ((PyObject *) v)->ob_type == PyObject_IsInstance( (PyObject *) v, (PyObject *) &GetViewMapGradientNormF1D_Type) ) +#define BPy_GetViewMapGradientNormF1D_Check(v) (((PyObject *)v)->ob_type == PyObject_IsInstance((PyObject *)v, (PyObject *)&GetViewMapGradientNormF1D_Type)) /*---------------------------Python BPy_GetViewMapGradientNormF1D structure definition----------*/ typedef struct { @@ -58,4 +58,4 @@ typedef struct { } #endif -#endif /* FREESTYLE_PYTHON_GETVIEWMAPGRADIENTNORMF1D_H */ +#endif /* __FREESTYLE_PYTHON_GETVIEWMAPGRADIENTNORMF1D_H__ */ diff --git a/source/blender/freestyle/intern/python/UnaryFunction1D/UnaryFunction1D_double/BPy_GetXF1D.h b/source/blender/freestyle/intern/python/UnaryFunction1D/UnaryFunction1D_double/BPy_GetXF1D.h index 1e83b375beb..aa1aa123cc9 100644 --- a/source/blender/freestyle/intern/python/UnaryFunction1D/UnaryFunction1D_double/BPy_GetXF1D.h +++ b/source/blender/freestyle/intern/python/UnaryFunction1D/UnaryFunction1D_double/BPy_GetXF1D.h @@ -29,8 +29,8 @@ * \ingroup freestyle */ -#ifndef FREESTYLE_PYTHON_GETXF1D_H -#define FREESTYLE_PYTHON_GETXF1D_H +#ifndef __FREESTYLE_PYTHON_GETXF1D_H__ +#define __FREESTYLE_PYTHON_GETXF1D_H__ #include "../BPy_UnaryFunction1DDouble.h" @@ -44,7 +44,7 @@ extern "C" { extern PyTypeObject GetXF1D_Type; -#define BPy_GetXF1D_Check(v) ( PyObject_IsInstance( (PyObject *) v, (PyObject *) &GetXF1D_Type) ) +#define BPy_GetXF1D_Check(v) (PyObject_IsInstance((PyObject *)v, (PyObject *)&GetXF1D_Type)) /*---------------------------Python BPy_GetXF1D structure definition----------*/ typedef struct { @@ -58,4 +58,4 @@ typedef struct { } #endif -#endif /* FREESTYLE_PYTHON_GETXF1D_H */ +#endif /* __FREESTYLE_PYTHON_GETXF1D_H__ */ diff --git a/source/blender/freestyle/intern/python/UnaryFunction1D/UnaryFunction1D_double/BPy_GetYF1D.h b/source/blender/freestyle/intern/python/UnaryFunction1D/UnaryFunction1D_double/BPy_GetYF1D.h index 87f8cbb765e..4a704b199ec 100644 --- a/source/blender/freestyle/intern/python/UnaryFunction1D/UnaryFunction1D_double/BPy_GetYF1D.h +++ b/source/blender/freestyle/intern/python/UnaryFunction1D/UnaryFunction1D_double/BPy_GetYF1D.h @@ -29,8 +29,8 @@ * \ingroup freestyle */ -#ifndef FREESTYLE_PYTHON_GETYF1D_H -#define FREESTYLE_PYTHON_GETYF1D_H +#ifndef __FREESTYLE_PYTHON_GETYF1D_H__ +#define __FREESTYLE_PYTHON_GETYF1D_H__ #include "../BPy_UnaryFunction1DDouble.h" @@ -44,7 +44,7 @@ extern "C" { extern PyTypeObject GetYF1D_Type; -#define BPy_GetYF1D_Check(v) ( PyObject_IsInstance( (PyObject *) v, (PyObject *) &GetYF1D_Type) ) +#define BPy_GetYF1D_Check(v) (PyObject_IsInstance((PyObject *)v, (PyObject *)&GetYF1D_Type)) /*---------------------------Python BPy_GetYF1D structure definition----------*/ typedef struct { @@ -58,4 +58,4 @@ typedef struct { } #endif -#endif /* FREESTYLE_PYTHON_GETYF1D_H */ +#endif /* __FREESTYLE_PYTHON_GETYF1D_H__ */ diff --git a/source/blender/freestyle/intern/python/UnaryFunction1D/UnaryFunction1D_double/BPy_GetZF1D.h b/source/blender/freestyle/intern/python/UnaryFunction1D/UnaryFunction1D_double/BPy_GetZF1D.h index bb72c7f0ff2..3810a5810ab 100644 --- a/source/blender/freestyle/intern/python/UnaryFunction1D/UnaryFunction1D_double/BPy_GetZF1D.h +++ b/source/blender/freestyle/intern/python/UnaryFunction1D/UnaryFunction1D_double/BPy_GetZF1D.h @@ -29,8 +29,8 @@ * \ingroup freestyle */ -#ifndef FREESTYLE_PYTHON_GETZF1D_H -#define FREESTYLE_PYTHON_GETZF1D_H +#ifndef __FREESTYLE_PYTHON_GETZF1D_H__ +#define __FREESTYLE_PYTHON_GETZF1D_H__ #include "../BPy_UnaryFunction1DDouble.h" @@ -44,7 +44,7 @@ extern "C" { extern PyTypeObject GetZF1D_Type; -#define BPy_GetZF1D_Check(v) ( PyObject_IsInstance( (PyObject *) v, (PyObject *) &GetZF1D_Type) ) +#define BPy_GetZF1D_Check(v) (PyObject_IsInstance((PyObject *)v, (PyObject *)&GetZF1D_Type)) /*---------------------------Python BPy_GetZF1D structure definition----------*/ typedef struct { @@ -58,4 +58,4 @@ typedef struct { } #endif -#endif /* FREESTYLE_PYTHON_GETZF1D_H */ +#endif /* __FREESTYLE_PYTHON_GETZF1D_H__ */ diff --git a/source/blender/freestyle/intern/python/UnaryFunction1D/UnaryFunction1D_double/BPy_LocalAverageDepthF1D.h b/source/blender/freestyle/intern/python/UnaryFunction1D/UnaryFunction1D_double/BPy_LocalAverageDepthF1D.h index 0255b3a14a0..bd91b66d3ac 100644 --- a/source/blender/freestyle/intern/python/UnaryFunction1D/UnaryFunction1D_double/BPy_LocalAverageDepthF1D.h +++ b/source/blender/freestyle/intern/python/UnaryFunction1D/UnaryFunction1D_double/BPy_LocalAverageDepthF1D.h @@ -29,8 +29,8 @@ * \ingroup freestyle */ -#ifndef FREESTYLE_PYTHON_LOCALAVERAGEDEPTHF1D_H -#define FREESTYLE_PYTHON_LOCALAVERAGEDEPTHF1D_H +#ifndef __FREESTYLE_PYTHON_LOCALAVERAGEDEPTHF1D_H__ +#define __FREESTYLE_PYTHON_LOCALAVERAGEDEPTHF1D_H__ #include "../BPy_UnaryFunction1DDouble.h" @@ -44,7 +44,7 @@ extern "C" { extern PyTypeObject LocalAverageDepthF1D_Type; -#define BPy_LocalAverageDepthF1D_Check(v) ( PyObject_IsInstance( (PyObject *) v, (PyObject *) &LocalAverageDepthF1D_Type) ) +#define BPy_LocalAverageDepthF1D_Check(v) (PyObject_IsInstance((PyObject *)v, (PyObject *)&LocalAverageDepthF1D_Type)) /*---------------------------Python BPy_LocalAverageDepthF1D structure definition----------*/ typedef struct { @@ -58,4 +58,4 @@ typedef struct { } #endif -#endif /* FREESTYLE_PYTHON_LOCALAVERAGEDEPTHF1D_H */ +#endif /* __FREESTYLE_PYTHON_LOCALAVERAGEDEPTHF1D_H__ */ diff --git a/source/blender/freestyle/intern/python/UnaryFunction1D/UnaryFunction1D_double/BPy_ZDiscontinuityF1D.h b/source/blender/freestyle/intern/python/UnaryFunction1D/UnaryFunction1D_double/BPy_ZDiscontinuityF1D.h index 21f201fee56..b5e22e3b990 100644 --- a/source/blender/freestyle/intern/python/UnaryFunction1D/UnaryFunction1D_double/BPy_ZDiscontinuityF1D.h +++ b/source/blender/freestyle/intern/python/UnaryFunction1D/UnaryFunction1D_double/BPy_ZDiscontinuityF1D.h @@ -29,8 +29,8 @@ * \ingroup freestyle */ -#ifndef FREESTYLE_PYTHON_ZDISCONTINUITYF1D_H -#define FREESTYLE_PYTHON_ZDISCONTINUITYF1D_H +#ifndef __FREESTYLE_PYTHON_ZDISCONTINUITYF1D_H__ +#define __FREESTYLE_PYTHON_ZDISCONTINUITYF1D_H__ #include "../BPy_UnaryFunction1DDouble.h" @@ -44,7 +44,7 @@ extern "C" { extern PyTypeObject ZDiscontinuityF1D_Type; -#define BPy_ZDiscontinuityF1D_Check(v) ( PyObject_IsInstance( (PyObject *) v, (PyObject *) &ZDiscontinuityF1D_Type) ) +#define BPy_ZDiscontinuityF1D_Check(v) (PyObject_IsInstance((PyObject *)v, (PyObject *)&ZDiscontinuityF1D_Type)) /*---------------------------Python BPy_ZDiscontinuityF1D structure definition----------*/ typedef struct { @@ -58,4 +58,4 @@ typedef struct { } #endif -#endif /* FREESTYLE_PYTHON_ZDISCONTINUITYF1D_H */ +#endif /* __FREESTYLE_PYTHON_ZDISCONTINUITYF1D_H__ */ |