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:
Diffstat (limited to 'source/blender/freestyle/intern/python/BPy_MediumType.h')
-rw-r--r--source/blender/freestyle/intern/python/BPy_MediumType.h10
1 files changed, 5 insertions, 5 deletions
diff --git a/source/blender/freestyle/intern/python/BPy_MediumType.h b/source/blender/freestyle/intern/python/BPy_MediumType.h
index 3436faf7dd0..a7db5b15505 100644
--- a/source/blender/freestyle/intern/python/BPy_MediumType.h
+++ b/source/blender/freestyle/intern/python/BPy_MediumType.h
@@ -29,8 +29,8 @@
* \ingroup freestyle
*/
-#ifndef FREESTYLE_PYTHON_MEDIUMTYPE_H
-#define FREESTYLE_PYTHON_MEDIUMTYPE_H
+#ifndef __FREESTYLE_PYTHON_MEDIUMTYPE_H__
+#define __FREESTYLE_PYTHON_MEDIUMTYPE_H__
#include <Python.h>
@@ -44,7 +44,7 @@ extern "C" {
extern PyTypeObject MediumType_Type;
-#define BPy_MediumType_Check(v) ( PyObject_IsInstance( (PyObject *) v, (PyObject *) &MediumType_Type) )
+#define BPy_MediumType_Check(v) (PyObject_IsInstance((PyObject *)v, (PyObject *)&MediumType_Type))
/*---------------------------Python BPy_MediumType structure definition----------*/
typedef struct {
@@ -53,7 +53,7 @@ typedef struct {
/*---------------------------Python BPy_MediumType visible prototypes-----------*/
-int MediumType_Init( PyObject *module );
+int MediumType_Init(PyObject *module);
// internal constants
extern PyLongObject _BPy_MediumType_DRY_MEDIUM;
@@ -70,4 +70,4 @@ extern PyLongObject _BPy_MediumType_OPAQUE_MEDIUM;
}
#endif
-#endif /* FREESTYLE_PYTHON_MEDIUMTYPE_H */
+#endif /* __FREESTYLE_PYTHON_MEDIUMTYPE_H__ */