Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTamito Kajiyama <rd6t-kjym@asahi-net.or.jp>2013-02-23 22:50:33 +0400
committerTamito Kajiyama <rd6t-kjym@asahi-net.or.jp>2013-02-23 22:50:33 +0400
commit3bd0b8971615d6ddc309aa33a40f7ebf0c25b0c6 (patch)
treebf8c39da5bbc4baafffe492419f005859c3ae066 /source/blender/freestyle/intern/python/BPy_Id.h
parentad7c43744cd9b6920031f483e564d4b836f379c2 (diff)
Code style clean-up.
Diffstat (limited to 'source/blender/freestyle/intern/python/BPy_Id.h')
-rw-r--r--source/blender/freestyle/intern/python/BPy_Id.h10
1 files changed, 5 insertions, 5 deletions
diff --git a/source/blender/freestyle/intern/python/BPy_Id.h b/source/blender/freestyle/intern/python/BPy_Id.h
index 58a1f4159cb..9b9ec5b6e2d 100644
--- a/source/blender/freestyle/intern/python/BPy_Id.h
+++ b/source/blender/freestyle/intern/python/BPy_Id.h
@@ -29,8 +29,8 @@
* \ingroup freestyle
*/
-#ifndef FREESTYLE_PYTHON_ID_H
-#define FREESTYLE_PYTHON_ID_H
+#ifndef __FREESTYLE_PYTHON_ID_H__
+#define __FREESTYLE_PYTHON_ID_H__
#include <Python.h>
#include <iostream>
@@ -46,7 +46,7 @@ extern "C" {
extern PyTypeObject Id_Type;
-#define BPy_Id_Check(v) ( PyObject_IsInstance( (PyObject *) v, (PyObject *) &Id_Type) )
+#define BPy_Id_Check(v) (PyObject_IsInstance((PyObject *)v, (PyObject *)&Id_Type))
/*---------------------------Python BPy_Id structure definition----------*/
typedef struct {
@@ -56,7 +56,7 @@ typedef struct {
/*---------------------------Python BPy_Id visible prototypes-----------*/
-int Id_Init( PyObject *module );
+int Id_Init(PyObject *module);
///////////////////////////////////////////////////////////////////////////////////////////
@@ -64,4 +64,4 @@ int Id_Init( PyObject *module );
}
#endif
-#endif /* FREESTYLE_PYTHON_ID_H */
+#endif /* __FREESTYLE_PYTHON_ID_H__ */