diff options
Diffstat (limited to 'source/blender/freestyle/intern/python/BPy_Operators.h')
-rw-r--r-- | source/blender/freestyle/intern/python/BPy_Operators.h | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/source/blender/freestyle/intern/python/BPy_Operators.h b/source/blender/freestyle/intern/python/BPy_Operators.h index 7fc7185e54e..e1c2f5be363 100644 --- a/source/blender/freestyle/intern/python/BPy_Operators.h +++ b/source/blender/freestyle/intern/python/BPy_Operators.h @@ -29,8 +29,8 @@ * \ingroup freestyle */ -#ifndef FREESTYLE_PYTHON_OPERATORS_H -#define FREESTYLE_PYTHON_OPERATORS_H +#ifndef __FREESTYLE_PYTHON_OPERATORS_H__ +#define __FREESTYLE_PYTHON_OPERATORS_H__ #include <Python.h> @@ -44,7 +44,7 @@ extern "C" { extern PyTypeObject Operators_Type; -#define BPy_Operators_Check(v) ( PyObject_IsInstance( (PyObject *) v, (PyObject *) &Operators_Type) ) +#define BPy_Operators_Check(v) (PyObject_IsInstance((PyObject *)v, (PyObject *)&Operators_Type)) /*---------------------------Python BPy_Operators structure definition----------*/ typedef struct { @@ -53,7 +53,7 @@ typedef struct { /*---------------------------Python BPy_Operators visible prototypes-----------*/ -int Operators_Init( PyObject *module ); +int Operators_Init(PyObject *module); /////////////////////////////////////////////////////////////////////////////////////////// @@ -62,4 +62,4 @@ int Operators_Init( PyObject *module ); } #endif -#endif /* FREESTYLE_PYTHON_OPERATORS_H */ +#endif /* __FREESTYLE_PYTHON_OPERATORS_H__ */ |