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/BPy_Nature.h | |
parent | ad7c43744cd9b6920031f483e564d4b836f379c2 (diff) |
Code style clean-up.
Diffstat (limited to 'source/blender/freestyle/intern/python/BPy_Nature.h')
-rw-r--r-- | source/blender/freestyle/intern/python/BPy_Nature.h | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/source/blender/freestyle/intern/python/BPy_Nature.h b/source/blender/freestyle/intern/python/BPy_Nature.h index 0cbe6f26662..a454af86d25 100644 --- a/source/blender/freestyle/intern/python/BPy_Nature.h +++ b/source/blender/freestyle/intern/python/BPy_Nature.h @@ -29,8 +29,8 @@ * \ingroup freestyle */ -#ifndef FREESTYLE_PYTHON_NATURE_H -#define FREESTYLE_PYTHON_NATURE_H +#ifndef __FREESTYLE_PYTHON_NATURE_H__ +#define __FREESTYLE_PYTHON_NATURE_H__ #include <Python.h> @@ -44,7 +44,7 @@ extern "C" { extern PyTypeObject Nature_Type; -#define BPy_Nature_Check(v) ( PyObject_IsInstance( (PyObject *) v, (PyObject *) &Nature_Type) ) +#define BPy_Nature_Check(v) (PyObject_IsInstance((PyObject *)v, (PyObject *)&Nature_Type)) /*---------------------------Python BPy_Nature structure definition----------*/ typedef struct { @@ -53,7 +53,7 @@ typedef struct { /*---------------------------Python BPy_Nature visible prototypes-----------*/ -int Nature_Init( PyObject *module ); +int Nature_Init(PyObject *module); /////////////////////////////////////////////////////////////////////////////////////////// @@ -61,4 +61,4 @@ int Nature_Init( PyObject *module ); } #endif -#endif /* FREESTYLE_PYTHON_NATURE_H */ +#endif /* __FREESTYLE_PYTHON_NATURE_H__ */ |