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:
authorMaxime Curioni <maxime.curioni@gmail.com>2008-08-01 06:25:21 +0400
committerMaxime Curioni <maxime.curioni@gmail.com>2008-08-01 06:25:21 +0400
commitc324f0cbc72b47182ba3d7fd1bbd280fcebe3283 (patch)
tree27b53c8ed01e51f078724ac8f7783d05bfb9dd24 /source/blender/freestyle/intern/python/BPy_FrsMaterial.h
parent4580fd1415d92ed882744e2617f5ac05e895452f (diff)
soc-2008-mxcurioni: clean-up #2
Diffstat (limited to 'source/blender/freestyle/intern/python/BPy_FrsMaterial.h')
-rw-r--r--source/blender/freestyle/intern/python/BPy_FrsMaterial.h18
1 files changed, 9 insertions, 9 deletions
diff --git a/source/blender/freestyle/intern/python/BPy_FrsMaterial.h b/source/blender/freestyle/intern/python/BPy_FrsMaterial.h
index e1c31864b63..b25ddfc77bc 100644
--- a/source/blender/freestyle/intern/python/BPy_FrsMaterial.h
+++ b/source/blender/freestyle/intern/python/BPy_FrsMaterial.h
@@ -1,5 +1,5 @@
-#ifndef FREESTYLE_PYTHON_MATERIAL_H
-#define FREESTYLE_PYTHON_MATERIAL_H
+#ifndef FREESTYLE_PYTHON_FRSMATERIAL_H
+#define FREESTYLE_PYTHON_FRSMATERIAL_H
#include "../scene_graph/Material.h"
@@ -11,19 +11,19 @@ extern "C" {
#include <Python.h>
-extern PyTypeObject Material_Type;
+extern PyTypeObject FrsMaterial_Type;
-#define BPy_Material_Check(v) ( PyObject_IsInstance( (PyObject *) v, (PyObject *) &Material_Type) )
+#define BPy_FrsMaterial_Check(v) ( PyObject_IsInstance( (PyObject *) v, (PyObject *) &FrsMaterial_Type) )
-/*---------------------------Python BPy_Material structure definition----------*/
+/*---------------------------Python BPy_FrsMaterial structure definition----------*/
typedef struct {
PyObject_HEAD
Material *m;
-} BPy_Material;
+} BPy_FrsMaterial;
-/*---------------------------Python BPy_Material visible prototypes-----------*/
+/*---------------------------Python BPy_FrsMaterial visible prototypes-----------*/
-PyMODINIT_FUNC Material_Init( PyObject *module );
+PyMODINIT_FUNC FrsMaterial_Init( PyObject *module );
///////////////////////////////////////////////////////////////////////////////////////////
@@ -33,4 +33,4 @@ PyMODINIT_FUNC Material_Init( PyObject *module );
#endif
-#endif /* FREESTYLE_PYTHON_MATERIAL_H */
+#endif /* FREESTYLE_PYTHON_FRSMATERIAL_H */