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_UnaryFunction1DFloat.h | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'source/blender/freestyle/intern/python/UnaryFunction1D/BPy_UnaryFunction1DFloat.h') diff --git a/source/blender/freestyle/intern/python/UnaryFunction1D/BPy_UnaryFunction1DFloat.h b/source/blender/freestyle/intern/python/UnaryFunction1D/BPy_UnaryFunction1DFloat.h index f4d5c60ab67..694435b98b5 100644 --- a/source/blender/freestyle/intern/python/UnaryFunction1D/BPy_UnaryFunction1DFloat.h +++ b/source/blender/freestyle/intern/python/UnaryFunction1D/BPy_UnaryFunction1DFloat.h @@ -29,8 +29,8 @@ * \ingroup freestyle */ -#ifndef FREESTYLE_PYTHON_UNARYFUNCTION1DFLOAT_H -#define FREESTYLE_PYTHON_UNARYFUNCTION1DFLOAT_H +#ifndef __FREESTYLE_PYTHON_UNARYFUNCTION1DFLOAT_H__ +#define __FREESTYLE_PYTHON_UNARYFUNCTION1DFLOAT_H__ #include "../BPy_UnaryFunction1D.h" @@ -44,7 +44,7 @@ extern "C" { extern PyTypeObject UnaryFunction1DFloat_Type; -#define BPy_UnaryFunction1DFloat_Check(v) ( PyObject_IsInstance( (PyObject *) v, (PyObject *) &UnaryFunction1DFloat_Type) ) +#define BPy_UnaryFunction1DFloat_Check(v) (PyObject_IsInstance((PyObject *)v, (PyObject *)&UnaryFunction1DFloat_Type)) /*---------------------------Python BPy_UnaryFunction1DFloat structure definition----------*/ typedef struct { @@ -53,7 +53,7 @@ typedef struct { } BPy_UnaryFunction1DFloat; /*---------------------------Python BPy_UnaryFunction1DFloat visible prototypes-----------*/ -int UnaryFunction1DFloat_Init( PyObject *module ); +int UnaryFunction1DFloat_Init(PyObject *module); /////////////////////////////////////////////////////////////////////////////////////////// @@ -62,4 +62,4 @@ int UnaryFunction1DFloat_Init( PyObject *module ); } #endif -#endif /* FREESTYLE_PYTHON_UNARYFUNCTION1DFLOAT_H */ +#endif /* __FREESTYLE_PYTHON_UNARYFUNCTION1DFLOAT_H__ */ -- cgit v1.2.3