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. --- .../intern/python/UnaryFunction1D/BPy_UnaryFunction1DVoid.h | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'source/blender/freestyle/intern/python/UnaryFunction1D/BPy_UnaryFunction1DVoid.h') diff --git a/source/blender/freestyle/intern/python/UnaryFunction1D/BPy_UnaryFunction1DVoid.h b/source/blender/freestyle/intern/python/UnaryFunction1D/BPy_UnaryFunction1DVoid.h index 628e1106f29..40569885e4c 100644 --- a/source/blender/freestyle/intern/python/UnaryFunction1D/BPy_UnaryFunction1DVoid.h +++ b/source/blender/freestyle/intern/python/UnaryFunction1D/BPy_UnaryFunction1DVoid.h @@ -29,8 +29,8 @@ * \ingroup freestyle */ -#ifndef FREESTYLE_PYTHON_UNARYFUNCTION1DVOID_H -#define FREESTYLE_PYTHON_UNARYFUNCTION1DVOID_H +#ifndef __FREESTYLE_PYTHON_UNARYFUNCTION1DVOID_H__ +#define __FREESTYLE_PYTHON_UNARYFUNCTION1DVOID_H__ #include "../BPy_UnaryFunction1D.h" @@ -44,7 +44,7 @@ extern "C" { extern PyTypeObject UnaryFunction1DVoid_Type; -#define BPy_UnaryFunction1DVoid_Check(v) ( PyObject_IsInstance( (PyObject *) v, (PyObject *) &UnaryFunction1DVoid_Type) ) +#define BPy_UnaryFunction1DVoid_Check(v) (PyObject_IsInstance((PyObject *)v, (PyObject *)&UnaryFunction1DVoid_Type)) /*---------------------------Python BPy_UnaryFunction1DVoid structure definition----------*/ typedef struct { @@ -53,7 +53,7 @@ typedef struct { } BPy_UnaryFunction1DVoid; /*---------------------------Python BPy_UnaryFunction1DVoid visible prototypes-----------*/ -int UnaryFunction1DVoid_Init( PyObject *module ); +int UnaryFunction1DVoid_Init(PyObject *module); /////////////////////////////////////////////////////////////////////////////////////////// @@ -62,4 +62,4 @@ int UnaryFunction1DVoid_Init( PyObject *module ); } #endif -#endif /* FREESTYLE_PYTHON_UNARYFUNCTION1DVOID_H */ +#endif /* __FREESTYLE_PYTHON_UNARYFUNCTION1DVOID_H__ */ -- cgit v1.2.3