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/Interface1D | |
parent | ad7c43744cd9b6920031f483e564d4b836f379c2 (diff) |
Code style clean-up.
Diffstat (limited to 'source/blender/freestyle/intern/python/Interface1D')
7 files changed, 28 insertions, 28 deletions
diff --git a/source/blender/freestyle/intern/python/Interface1D/BPy_FEdge.h b/source/blender/freestyle/intern/python/Interface1D/BPy_FEdge.h index 50f6315887d..468136736ca 100644 --- a/source/blender/freestyle/intern/python/Interface1D/BPy_FEdge.h +++ b/source/blender/freestyle/intern/python/Interface1D/BPy_FEdge.h @@ -29,8 +29,8 @@ * \ingroup freestyle */ -#ifndef FREESTYLE_PYTHON_FEDGE_H -#define FREESTYLE_PYTHON_FEDGE_H +#ifndef __FREESTYLE_PYTHON_FEDGE_H__ +#define __FREESTYLE_PYTHON_FEDGE_H__ #include "../BPy_Interface1D.h" #include "../../view_map/Silhouette.h" @@ -45,7 +45,7 @@ extern "C" { extern PyTypeObject FEdge_Type; -#define BPy_FEdge_Check(v) ( PyObject_IsInstance( (PyObject *) v, (PyObject *) &FEdge_Type) ) +#define BPy_FEdge_Check(v) (PyObject_IsInstance((PyObject *)v, (PyObject *)&FEdge_Type)) /*---------------------------Python BPy_FEdge structure definition----------*/ typedef struct { @@ -59,4 +59,4 @@ typedef struct { } #endif -#endif /* FREESTYLE_PYTHON_FEDGE_H */ +#endif /* __FREESTYLE_PYTHON_FEDGE_H__ */ diff --git a/source/blender/freestyle/intern/python/Interface1D/BPy_FrsCurve.h b/source/blender/freestyle/intern/python/Interface1D/BPy_FrsCurve.h index b594002ae42..3622870af9a 100644 --- a/source/blender/freestyle/intern/python/Interface1D/BPy_FrsCurve.h +++ b/source/blender/freestyle/intern/python/Interface1D/BPy_FrsCurve.h @@ -29,8 +29,8 @@ * \ingroup freestyle */ -#ifndef FREESTYLE_PYTHON_FRSCURVE_H -#define FREESTYLE_PYTHON_FRSCURVE_H +#ifndef __FREESTYLE_PYTHON_FRSCURVE_H__ +#define __FREESTYLE_PYTHON_FRSCURVE_H__ #include "../BPy_Interface1D.h" #include "../../stroke/Curve.h" @@ -45,7 +45,7 @@ extern "C" { extern PyTypeObject FrsCurve_Type; -#define BPy_FrsCurve_Check(v) ( PyObject_IsInstance( (PyObject *) v, (PyObject *) &FrsCurve_Type) ) +#define BPy_FrsCurve_Check(v) (PyObject_IsInstance((PyObject *)v, (PyObject *)&FrsCurve_Type)) /*---------------------------Python BPy_FrsCurve structure definition----------*/ typedef struct { @@ -59,4 +59,4 @@ typedef struct { } #endif -#endif /* FREESTYLE_PYTHON_FRSCURVE_H */ +#endif /* __FREESTYLE_PYTHON_FRSCURVE_H__ */ diff --git a/source/blender/freestyle/intern/python/Interface1D/BPy_Stroke.h b/source/blender/freestyle/intern/python/Interface1D/BPy_Stroke.h index 188d7a00da0..5ad894ce636 100644 --- a/source/blender/freestyle/intern/python/Interface1D/BPy_Stroke.h +++ b/source/blender/freestyle/intern/python/Interface1D/BPy_Stroke.h @@ -29,8 +29,8 @@ * \ingroup freestyle */ -#ifndef FREESTYLE_PYTHON_STROKE_H -#define FREESTYLE_PYTHON_STROKE_H +#ifndef __FREESTYLE_PYTHON_STROKE_H__ +#define __FREESTYLE_PYTHON_STROKE_H__ #include "../BPy_Interface1D.h" #include "../../stroke/Stroke.h" @@ -45,7 +45,7 @@ extern "C" { extern PyTypeObject Stroke_Type; -#define BPy_Stroke_Check(v) (( (PyObject *) v)->ob_type == &Stroke_Type) +#define BPy_Stroke_Check(v) (((PyObject *)v)->ob_type == &Stroke_Type) /*---------------------------Python BPy_Stroke structure definition----------*/ typedef struct { @@ -59,4 +59,4 @@ typedef struct { } #endif -#endif /* FREESTYLE_PYTHON_STROKE_H */ +#endif /* __FREESTYLE_PYTHON_STROKE_H__ */ diff --git a/source/blender/freestyle/intern/python/Interface1D/BPy_ViewEdge.h b/source/blender/freestyle/intern/python/Interface1D/BPy_ViewEdge.h index 1d779f71b36..e5bb0c891cf 100644 --- a/source/blender/freestyle/intern/python/Interface1D/BPy_ViewEdge.h +++ b/source/blender/freestyle/intern/python/Interface1D/BPy_ViewEdge.h @@ -29,8 +29,8 @@ * \ingroup freestyle */ -#ifndef FREESTYLE_PYTHON_VIEWEDGE_H -#define FREESTYLE_PYTHON_VIEWEDGE_H +#ifndef __FREESTYLE_PYTHON_VIEWEDGE_H__ +#define __FREESTYLE_PYTHON_VIEWEDGE_H__ #include "../../view_map/ViewMap.h" @@ -46,7 +46,7 @@ extern "C" { extern PyTypeObject ViewEdge_Type; -#define BPy_ViewEdge_Check(v) ( PyObject_IsInstance( (PyObject *) v, (PyObject *) &ViewEdge_Type) ) +#define BPy_ViewEdge_Check(v) (PyObject_IsInstance((PyObject *)v, (PyObject *)&ViewEdge_Type)) /*---------------------------Python BPy_ViewEdge structure definition----------*/ typedef struct { @@ -60,4 +60,4 @@ typedef struct { } #endif -#endif /* FREESTYLE_PYTHON_VIEWEDGE_H */ +#endif /* __FREESTYLE_PYTHON_VIEWEDGE_H__ */ diff --git a/source/blender/freestyle/intern/python/Interface1D/Curve/BPy_Chain.h b/source/blender/freestyle/intern/python/Interface1D/Curve/BPy_Chain.h index 5fa7e6d3089..bfc72e6aaec 100644 --- a/source/blender/freestyle/intern/python/Interface1D/Curve/BPy_Chain.h +++ b/source/blender/freestyle/intern/python/Interface1D/Curve/BPy_Chain.h @@ -29,8 +29,8 @@ * \ingroup freestyle */ -#ifndef FREESTYLE_PYTHON_CHAIN_H -#define FREESTYLE_PYTHON_CHAIN_H +#ifndef __FREESTYLE_PYTHON_CHAIN_H__ +#define __FREESTYLE_PYTHON_CHAIN_H__ #include "../BPy_FrsCurve.h" #include "../../../stroke/Chain.h" @@ -45,7 +45,7 @@ extern "C" { extern PyTypeObject Chain_Type; -#define BPy_Chain_Check(v) ( PyObject_IsInstance( (PyObject *) v, (PyObject *) &Chain_Type) ) +#define BPy_Chain_Check(v) (PyObject_IsInstance((PyObject *)v, (PyObject *)&Chain_Type)) /*---------------------------Python BPy_Chain structure definition----------*/ typedef struct { @@ -59,4 +59,4 @@ typedef struct { } #endif -#endif /* FREESTYLE_PYTHON_CHAIN_H */ +#endif /* __FREESTYLE_PYTHON_CHAIN_H__ */ diff --git a/source/blender/freestyle/intern/python/Interface1D/FEdge/BPy_FEdgeSharp.h b/source/blender/freestyle/intern/python/Interface1D/FEdge/BPy_FEdgeSharp.h index 38c6f4f0449..f82dc352050 100644 --- a/source/blender/freestyle/intern/python/Interface1D/FEdge/BPy_FEdgeSharp.h +++ b/source/blender/freestyle/intern/python/Interface1D/FEdge/BPy_FEdgeSharp.h @@ -29,8 +29,8 @@ * \ingroup freestyle */ -#ifndef FREESTYLE_PYTHON_FEDGESHARP_H -#define FREESTYLE_PYTHON_FEDGESHARP_H +#ifndef __FREESTYLE_PYTHON_FEDGESHARP_H__ +#define __FREESTYLE_PYTHON_FEDGESHARP_H__ #include "../BPy_FEdge.h" #include "../../../view_map/Silhouette.h" @@ -45,7 +45,7 @@ extern "C" { extern PyTypeObject FEdgeSharp_Type; -#define BPy_FEdgeSharp_Check(v) ( PyObject_IsInstance( (PyObject *) v, (PyObject *) &FEdgeSharp_Type) ) +#define BPy_FEdgeSharp_Check(v) (PyObject_IsInstance((PyObject *)v, (PyObject *)&FEdgeSharp_Type)) /*---------------------------Python BPy_FEdgeSharp structure definition----------*/ typedef struct { @@ -63,4 +63,4 @@ void FEdgeSharp_mathutils_register_callback(); } #endif -#endif /* FREESTYLE_PYTHON_FEDGESHARP_H */ +#endif /* __FREESTYLE_PYTHON_FEDGESHARP_H__ */ diff --git a/source/blender/freestyle/intern/python/Interface1D/FEdge/BPy_FEdgeSmooth.h b/source/blender/freestyle/intern/python/Interface1D/FEdge/BPy_FEdgeSmooth.h index 2c134a53294..2484ef80e35 100644 --- a/source/blender/freestyle/intern/python/Interface1D/FEdge/BPy_FEdgeSmooth.h +++ b/source/blender/freestyle/intern/python/Interface1D/FEdge/BPy_FEdgeSmooth.h @@ -29,8 +29,8 @@ * \ingroup freestyle */ -#ifndef FREESTYLE_PYTHON_FEDGESMOOTH_H -#define FREESTYLE_PYTHON_FEDGESMOOTH_H +#ifndef __FREESTYLE_PYTHON_FEDGESMOOTH_H__ +#define __FREESTYLE_PYTHON_FEDGESMOOTH_H__ #include "../BPy_FEdge.h" #include "../../../view_map/Silhouette.h" @@ -45,7 +45,7 @@ extern "C" { extern PyTypeObject FEdgeSmooth_Type; -#define BPy_FEdgeSmooth_Check(v) ( PyObject_IsInstance( (PyObject *) v, (PyObject *) &FEdgeSmooth_Type) ) +#define BPy_FEdgeSmooth_Check(v) (PyObject_IsInstance((PyObject *)v, (PyObject *)&FEdgeSmooth_Type)) /*---------------------------Python BPy_FEdgeSmooth structure definition----------*/ typedef struct { @@ -63,4 +63,4 @@ void FEdgeSmooth_mathutils_register_callback(); } #endif -#endif /* FREESTYLE_PYTHON_FEDGESMOOTH_H */ +#endif /* __FREESTYLE_PYTHON_FEDGESMOOTH_H__ */ |