From 3bd0b8971615d6ddc309aa33a40f7ebf0c25b0c6 Mon Sep 17 00:00:00 2001 From: Tamito Kajiyama Date: Sat, 23 Feb 2013 18:50:33 +0000 Subject: Code style clean-up. --- .../UnaryFunction0D/UnaryFunction0D_Vec2f/BPy_Normal2DF0D.h | 8 ++++---- .../UnaryFunction0D_Vec2f/BPy_VertexOrientation2DF0D.h | 8 ++++---- 2 files changed, 8 insertions(+), 8 deletions(-) (limited to 'source/blender/freestyle/intern/python/UnaryFunction0D/UnaryFunction0D_Vec2f') diff --git a/source/blender/freestyle/intern/python/UnaryFunction0D/UnaryFunction0D_Vec2f/BPy_Normal2DF0D.h b/source/blender/freestyle/intern/python/UnaryFunction0D/UnaryFunction0D_Vec2f/BPy_Normal2DF0D.h index 3bdf3d22257..2e1e578760d 100644 --- a/source/blender/freestyle/intern/python/UnaryFunction0D/UnaryFunction0D_Vec2f/BPy_Normal2DF0D.h +++ b/source/blender/freestyle/intern/python/UnaryFunction0D/UnaryFunction0D_Vec2f/BPy_Normal2DF0D.h @@ -29,8 +29,8 @@ * \ingroup freestyle */ -#ifndef FREESTYLE_PYTHON_NORMAL2DF0D_H -#define FREESTYLE_PYTHON_NORMAL2DF0D_H +#ifndef __FREESTYLE_PYTHON_NORMAL2DF0D_H__ +#define __FREESTYLE_PYTHON_NORMAL2DF0D_H__ #include "../BPy_UnaryFunction0DVec2f.h" @@ -44,7 +44,7 @@ extern "C" { extern PyTypeObject Normal2DF0D_Type; -#define BPy_Normal2DF0D_Check(v) ( PyObject_IsInstance( (PyObject *) v, (PyObject *) &Normal2DF0D_Type) ) +#define BPy_Normal2DF0D_Check(v) (PyObject_IsInstance((PyObject *)v, (PyObject *)&Normal2DF0D_Type)) /*---------------------------Python BPy_Normal2DF0D structure definition----------*/ typedef struct { @@ -58,4 +58,4 @@ typedef struct { } #endif -#endif /* FREESTYLE_PYTHON_NORMAL2DF0D_H */ +#endif /* __FREESTYLE_PYTHON_NORMAL2DF0D_H__ */ diff --git a/source/blender/freestyle/intern/python/UnaryFunction0D/UnaryFunction0D_Vec2f/BPy_VertexOrientation2DF0D.h b/source/blender/freestyle/intern/python/UnaryFunction0D/UnaryFunction0D_Vec2f/BPy_VertexOrientation2DF0D.h index df4219addbf..4d606acc2b4 100644 --- a/source/blender/freestyle/intern/python/UnaryFunction0D/UnaryFunction0D_Vec2f/BPy_VertexOrientation2DF0D.h +++ b/source/blender/freestyle/intern/python/UnaryFunction0D/UnaryFunction0D_Vec2f/BPy_VertexOrientation2DF0D.h @@ -29,8 +29,8 @@ * \ingroup freestyle */ -#ifndef FREESTYLE_PYTHON_VERTEXORIENTATION2DF0D_H -#define FREESTYLE_PYTHON_VERTEXORIENTATION2DF0D_H +#ifndef __FREESTYLE_PYTHON_VERTEXORIENTATION2DF0D_H__ +#define __FREESTYLE_PYTHON_VERTEXORIENTATION2DF0D_H__ #include "../BPy_UnaryFunction0DVec2f.h" @@ -44,7 +44,7 @@ extern "C" { extern PyTypeObject VertexOrientation2DF0D_Type; -#define BPy_VertexOrientation2DF0D_Check(v) ( PyObject_IsInstance( (PyObject *) v, (PyObject *) &VertexOrientation2DF0D_Type) ) +#define BPy_VertexOrientation2DF0D_Check(v) (PyObject_IsInstance((PyObject *)v, (PyObject *)&VertexOrientation2DF0D_Type)) /*---------------------------Python BPy_VertexOrientation2DF0D structure definition----------*/ typedef struct { @@ -58,4 +58,4 @@ typedef struct { } #endif -#endif /* FREESTYLE_PYTHON_VERTEXORIENTATION2DF0D_H */ +#endif /* __FREESTYLE_PYTHON_VERTEXORIENTATION2DF0D_H__ */ -- cgit v1.2.3