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_StrokeShader.h')
-rw-r--r--source/blender/freestyle/intern/python/BPy_StrokeShader.h10
1 files changed, 5 insertions, 5 deletions
diff --git a/source/blender/freestyle/intern/python/BPy_StrokeShader.h b/source/blender/freestyle/intern/python/BPy_StrokeShader.h
index fb4085d7ef7..690fdf7e424 100644
--- a/source/blender/freestyle/intern/python/BPy_StrokeShader.h
+++ b/source/blender/freestyle/intern/python/BPy_StrokeShader.h
@@ -29,8 +29,8 @@
* \ingroup freestyle
*/
-#ifndef FREESTYLE_PYTHON_STROKESHADER_H
-#define FREESTYLE_PYTHON_STROKESHADER_H
+#ifndef __FREESTYLE_PYTHON_STROKESHADER_H__
+#define __FREESTYLE_PYTHON_STROKESHADER_H__
#include <Python.h>
@@ -48,7 +48,7 @@ extern "C" {
extern PyTypeObject StrokeShader_Type;
-#define BPy_StrokeShader_Check(v) ( PyObject_IsInstance( (PyObject *) v, (PyObject *) &StrokeShader_Type) )
+#define BPy_StrokeShader_Check(v) (PyObject_IsInstance((PyObject *)v, (PyObject *)&StrokeShader_Type))
/*---------------------------Python BPy_StrokeShader structure definition----------*/
typedef struct {
@@ -58,7 +58,7 @@ typedef struct {
/*---------------------------Python BPy_StrokeShader visible prototypes-----------*/
-int StrokeShader_Init( PyObject *module );
+int StrokeShader_Init(PyObject *module);
///////////////////////////////////////////////////////////////////////////////////////////
@@ -68,4 +68,4 @@ int StrokeShader_Init( PyObject *module );
#endif
-#endif /* FREESTYLE_PYTHON_STROKESHADER_H */
+#endif /* __FREESTYLE_PYTHON_STROKESHADER_H__ */