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/Interface0D | |
parent | ad7c43744cd9b6920031f483e564d4b836f379c2 (diff) |
Code style clean-up.
Diffstat (limited to 'source/blender/freestyle/intern/python/Interface0D')
6 files changed, 24 insertions, 24 deletions
diff --git a/source/blender/freestyle/intern/python/Interface0D/BPy_CurvePoint.h b/source/blender/freestyle/intern/python/Interface0D/BPy_CurvePoint.h index d851d93b8b9..3bd39fc0162 100644 --- a/source/blender/freestyle/intern/python/Interface0D/BPy_CurvePoint.h +++ b/source/blender/freestyle/intern/python/Interface0D/BPy_CurvePoint.h @@ -29,8 +29,8 @@ * \ingroup freestyle */ -#ifndef FREESTYLE_PYTHON_CURVEPOINT_H -#define FREESTYLE_PYTHON_CURVEPOINT_H +#ifndef __FREESTYLE_PYTHON_CURVEPOINT_H__ +#define __FREESTYLE_PYTHON_CURVEPOINT_H__ #include "../BPy_Interface0D.h" #include "../../stroke/Curve.h" @@ -45,7 +45,7 @@ extern "C" { extern PyTypeObject CurvePoint_Type; -#define BPy_CurvePoint_Check(v) ( PyObject_IsInstance( (PyObject *) v, (PyObject *) &CurvePoint_Type) ) +#define BPy_CurvePoint_Check(v) (PyObject_IsInstance((PyObject *)v, (PyObject *)&CurvePoint_Type)) /*---------------------------Python BPy_CurvePoint structure definition----------*/ typedef struct { @@ -59,4 +59,4 @@ typedef struct { } #endif -#endif /* FREESTYLE_PYTHON_CURVEPOINT_H */ +#endif /* __FREESTYLE_PYTHON_CURVEPOINT_H__ */ diff --git a/source/blender/freestyle/intern/python/Interface0D/BPy_SVertex.h b/source/blender/freestyle/intern/python/Interface0D/BPy_SVertex.h index 60353da6abc..7c8270e0985 100644 --- a/source/blender/freestyle/intern/python/Interface0D/BPy_SVertex.h +++ b/source/blender/freestyle/intern/python/Interface0D/BPy_SVertex.h @@ -29,8 +29,8 @@ * \ingroup freestyle */ -#ifndef FREESTYLE_PYTHON_SVERTEX_H -#define FREESTYLE_PYTHON_SVERTEX_H +#ifndef __FREESTYLE_PYTHON_SVERTEX_H__ +#define __FREESTYLE_PYTHON_SVERTEX_H__ #include "../../view_map/Silhouette.h" #include "../BPy_Interface0D.h" @@ -46,7 +46,7 @@ extern "C" { extern PyTypeObject SVertex_Type; -#define BPy_SVertex_Check(v) ( PyObject_IsInstance( (PyObject *) v, (PyObject *) &SVertex_Type) ) +#define BPy_SVertex_Check(v) (PyObject_IsInstance((PyObject *)v, (PyObject *)&SVertex_Type)) /*---------------------------Python BPy_SVertex structure definition----------*/ typedef struct { @@ -64,4 +64,4 @@ void SVertex_mathutils_register_callback(); } #endif -#endif /* FREESTYLE_PYTHON_SVERTEX_H */ +#endif /* __FREESTYLE_PYTHON_SVERTEX_H__ */ diff --git a/source/blender/freestyle/intern/python/Interface0D/BPy_ViewVertex.h b/source/blender/freestyle/intern/python/Interface0D/BPy_ViewVertex.h index 58bd1e7a365..fcc12c7614a 100644 --- a/source/blender/freestyle/intern/python/Interface0D/BPy_ViewVertex.h +++ b/source/blender/freestyle/intern/python/Interface0D/BPy_ViewVertex.h @@ -29,8 +29,8 @@ * \ingroup freestyle */ -#ifndef FREESTYLE_PYTHON_VIEWVERTEX_H -#define FREESTYLE_PYTHON_VIEWVERTEX_H +#ifndef __FREESTYLE_PYTHON_VIEWVERTEX_H__ +#define __FREESTYLE_PYTHON_VIEWVERTEX_H__ #include "../../view_map/ViewMap.h" #include "../BPy_Interface0D.h" @@ -45,7 +45,7 @@ extern "C" { extern PyTypeObject ViewVertex_Type; -#define BPy_ViewVertex_Check(v) ( PyObject_IsInstance( (PyObject *) v, (PyObject *) &ViewVertex_Type) ) +#define BPy_ViewVertex_Check(v) (PyObject_IsInstance((PyObject *)v, (PyObject *)&ViewVertex_Type)) /*---------------------------Python BPy_ViewVertex structure definition----------*/ typedef struct { @@ -59,4 +59,4 @@ typedef struct { } #endif -#endif /* FREESTYLE_PYTHON_VIEWVERTEX_H */ +#endif /* __FREESTYLE_PYTHON_VIEWVERTEX_H__ */ diff --git a/source/blender/freestyle/intern/python/Interface0D/CurvePoint/BPy_StrokeVertex.h b/source/blender/freestyle/intern/python/Interface0D/CurvePoint/BPy_StrokeVertex.h index 492dce6b93e..466a40e1fca 100644 --- a/source/blender/freestyle/intern/python/Interface0D/CurvePoint/BPy_StrokeVertex.h +++ b/source/blender/freestyle/intern/python/Interface0D/CurvePoint/BPy_StrokeVertex.h @@ -29,8 +29,8 @@ * \ingroup freestyle */ -#ifndef FREESTYLE_PYTHON_STROKEVERTEX_H -#define FREESTYLE_PYTHON_STROKEVERTEX_H +#ifndef __FREESTYLE_PYTHON_STROKEVERTEX_H__ +#define __FREESTYLE_PYTHON_STROKEVERTEX_H__ #include "../BPy_CurvePoint.h" #include "../../../stroke/Stroke.h" @@ -45,7 +45,7 @@ extern "C" { extern PyTypeObject StrokeVertex_Type; -#define BPy_StrokeVertex_Check(v) ( PyObject_IsInstance( (PyObject *) v, (PyObject *) &StrokeVertex_Type) ) +#define BPy_StrokeVertex_Check(v) (PyObject_IsInstance((PyObject *)v, (PyObject *)&StrokeVertex_Type)) /*---------------------------Python BPy_StrokeVertex structure definition----------*/ typedef struct { @@ -63,4 +63,4 @@ void StrokeVertex_mathutils_register_callback(); } #endif -#endif /* FREESTYLE_PYTHON_STROKEVERTEX_H */ +#endif /* __FREESTYLE_PYTHON_STROKEVERTEX_H__ */ diff --git a/source/blender/freestyle/intern/python/Interface0D/ViewVertex/BPy_NonTVertex.h b/source/blender/freestyle/intern/python/Interface0D/ViewVertex/BPy_NonTVertex.h index 4f74b770224..4bc59d3597e 100644 --- a/source/blender/freestyle/intern/python/Interface0D/ViewVertex/BPy_NonTVertex.h +++ b/source/blender/freestyle/intern/python/Interface0D/ViewVertex/BPy_NonTVertex.h @@ -29,8 +29,8 @@ * \ingroup freestyle */ -#ifndef FREESTYLE_PYTHON_NONTVERTEX_H -#define FREESTYLE_PYTHON_NONTVERTEX_H +#ifndef __FREESTYLE_PYTHON_NONTVERTEX_H__ +#define __FREESTYLE_PYTHON_NONTVERTEX_H__ #include "../BPy_ViewVertex.h" #include "../../../view_map/ViewMap.h" @@ -45,7 +45,7 @@ extern "C" { extern PyTypeObject NonTVertex_Type; -#define BPy_NonTVertex_Check(v) ( PyObject_IsInstance( (PyObject *) v, (PyObject *) &NonTVertex_Type) ) +#define BPy_NonTVertex_Check(v) (PyObject_IsInstance((PyObject *)v, (PyObject *)&NonTVertex_Type)) /*---------------------------Python BPy_NonTVertex structure definition----------*/ typedef struct { @@ -59,4 +59,4 @@ typedef struct { } #endif -#endif /* FREESTYLE_PYTHON_NONTVERTEX_H */ +#endif /* __FREESTYLE_PYTHON_NONTVERTEX_H__ */ diff --git a/source/blender/freestyle/intern/python/Interface0D/ViewVertex/BPy_TVertex.h b/source/blender/freestyle/intern/python/Interface0D/ViewVertex/BPy_TVertex.h index 8b9b81e2704..4d832b2f67f 100644 --- a/source/blender/freestyle/intern/python/Interface0D/ViewVertex/BPy_TVertex.h +++ b/source/blender/freestyle/intern/python/Interface0D/ViewVertex/BPy_TVertex.h @@ -29,8 +29,8 @@ * \ingroup freestyle */ -#ifndef FREESTYLE_PYTHON_TVERTEX_H -#define FREESTYLE_PYTHON_TVERTEX_H +#ifndef __FREESTYLE_PYTHON_TVERTEX_H__ +#define __FREESTYLE_PYTHON_TVERTEX_H__ #include "../BPy_ViewVertex.h" #include "../../../view_map/ViewMap.h" @@ -45,7 +45,7 @@ extern "C" { extern PyTypeObject TVertex_Type; -#define BPy_TVertex_Check(v) ( PyObject_IsInstance( (PyObject *) v, (PyObject *) &TVertex_Type) ) +#define BPy_TVertex_Check(v) (PyObject_IsInstance((PyObject *)v, (PyObject *)&TVertex_Type)) /*---------------------------Python BPy_TVertex structure definition----------*/ typedef struct { @@ -59,4 +59,4 @@ typedef struct { } #endif -#endif /* FREESTYLE_PYTHON_TVERTEX_H */ +#endif /* __FREESTYLE_PYTHON_TVERTEX_H__ */ |