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-22 07:04:52 +0400
committerTamito Kajiyama <rd6t-kjym@asahi-net.or.jp>2013-02-22 07:04:52 +0400
commit025feb240d6aad7419dd415fc3230f04b9e2aecf (patch)
treef7ebfb68e157a0d6bb64de158ee16d35c3e280ce /source/blender/freestyle/intern/python/UnaryFunction0D
parenta4a7341aef2e772b7a233ade5dbccfbb959fd8e4 (diff)
Code clean-up: removed empty PyMethodDef.
Diffstat (limited to 'source/blender/freestyle/intern/python/UnaryFunction0D')
-rw-r--r--source/blender/freestyle/intern/python/UnaryFunction0D/BPy_UnaryFunction0DDouble.cpp6
-rw-r--r--source/blender/freestyle/intern/python/UnaryFunction0D/BPy_UnaryFunction0DEdgeNature.cpp6
-rw-r--r--source/blender/freestyle/intern/python/UnaryFunction0D/BPy_UnaryFunction0DFloat.cpp6
-rw-r--r--source/blender/freestyle/intern/python/UnaryFunction0D/BPy_UnaryFunction0DId.cpp6
-rw-r--r--source/blender/freestyle/intern/python/UnaryFunction0D/BPy_UnaryFunction0DMaterial.cpp7
-rw-r--r--source/blender/freestyle/intern/python/UnaryFunction0D/BPy_UnaryFunction0DUnsigned.cpp6
-rw-r--r--source/blender/freestyle/intern/python/UnaryFunction0D/BPy_UnaryFunction0DVec2f.cpp6
-rw-r--r--source/blender/freestyle/intern/python/UnaryFunction0D/BPy_UnaryFunction0DVec3f.cpp6
-rw-r--r--source/blender/freestyle/intern/python/UnaryFunction0D/BPy_UnaryFunction0DVectorViewShape.cpp6
-rw-r--r--source/blender/freestyle/intern/python/UnaryFunction0D/BPy_UnaryFunction0DViewShape.cpp6
10 files changed, 10 insertions, 51 deletions
diff --git a/source/blender/freestyle/intern/python/UnaryFunction0D/BPy_UnaryFunction0DDouble.cpp b/source/blender/freestyle/intern/python/UnaryFunction0D/BPy_UnaryFunction0DDouble.cpp
index 441b7be3664..b6437db6190 100644
--- a/source/blender/freestyle/intern/python/UnaryFunction0D/BPy_UnaryFunction0DDouble.cpp
+++ b/source/blender/freestyle/intern/python/UnaryFunction0D/BPy_UnaryFunction0DDouble.cpp
@@ -144,10 +144,6 @@ static PyObject * UnaryFunction0DDouble___call__(BPy_UnaryFunction0DDouble *self
return PyFloat_FromDouble(self->uf0D_double->result);
}
-static PyMethodDef BPy_UnaryFunction0DDouble_methods[] = {
- {NULL, NULL, 0, NULL}
-};
-
/*-----------------------BPy_UnaryFunction0DDouble type definition ------------------------------*/
PyTypeObject UnaryFunction0DDouble_Type = {
@@ -178,7 +174,7 @@ PyTypeObject UnaryFunction0DDouble_Type = {
0, /* tp_weaklistoffset */
0, /* tp_iter */
0, /* tp_iternext */
- BPy_UnaryFunction0DDouble_methods, /* tp_methods */
+ 0, /* tp_methods */
0, /* tp_members */
0, /* tp_getset */
&UnaryFunction0D_Type, /* tp_base */
diff --git a/source/blender/freestyle/intern/python/UnaryFunction0D/BPy_UnaryFunction0DEdgeNature.cpp b/source/blender/freestyle/intern/python/UnaryFunction0D/BPy_UnaryFunction0DEdgeNature.cpp
index be33fcd9932..00a3df25645 100644
--- a/source/blender/freestyle/intern/python/UnaryFunction0D/BPy_UnaryFunction0DEdgeNature.cpp
+++ b/source/blender/freestyle/intern/python/UnaryFunction0D/BPy_UnaryFunction0DEdgeNature.cpp
@@ -88,10 +88,6 @@ static PyObject * UnaryFunction0DEdgeNature___call__(BPy_UnaryFunction0DEdgeNatu
return BPy_Nature_from_Nature(self->uf0D_edgenature->result);
}
-static PyMethodDef BPy_UnaryFunction0DEdgeNature_methods[] = {
- {NULL, NULL, 0, NULL}
-};
-
/*-----------------------BPy_UnaryFunction0DEdgeNature type definition ------------------------------*/
PyTypeObject UnaryFunction0DEdgeNature_Type = {
@@ -122,7 +118,7 @@ PyTypeObject UnaryFunction0DEdgeNature_Type = {
0, /* tp_weaklistoffset */
0, /* tp_iter */
0, /* tp_iternext */
- BPy_UnaryFunction0DEdgeNature_methods, /* tp_methods */
+ 0, /* tp_methods */
0, /* tp_members */
0, /* tp_getset */
&UnaryFunction0D_Type, /* tp_base */
diff --git a/source/blender/freestyle/intern/python/UnaryFunction0D/BPy_UnaryFunction0DFloat.cpp b/source/blender/freestyle/intern/python/UnaryFunction0D/BPy_UnaryFunction0DFloat.cpp
index d4858fcf250..cedd651d927 100644
--- a/source/blender/freestyle/intern/python/UnaryFunction0D/BPy_UnaryFunction0DFloat.cpp
+++ b/source/blender/freestyle/intern/python/UnaryFunction0D/BPy_UnaryFunction0DFloat.cpp
@@ -118,10 +118,6 @@ static PyObject * UnaryFunction0DFloat___call__(BPy_UnaryFunction0DFloat *self,
return PyFloat_FromDouble(self->uf0D_float->result);
}
-static PyMethodDef BPy_UnaryFunction0DFloat_methods[] = {
- {NULL, NULL, 0, NULL}
-};
-
/*-----------------------BPy_UnaryFunction0DFloat type definition ------------------------------*/
PyTypeObject UnaryFunction0DFloat_Type = {
@@ -152,7 +148,7 @@ PyTypeObject UnaryFunction0DFloat_Type = {
0, /* tp_weaklistoffset */
0, /* tp_iter */
0, /* tp_iternext */
- BPy_UnaryFunction0DFloat_methods, /* tp_methods */
+ 0, /* tp_methods */
0, /* tp_members */
0, /* tp_getset */
&UnaryFunction0D_Type, /* tp_base */
diff --git a/source/blender/freestyle/intern/python/UnaryFunction0D/BPy_UnaryFunction0DId.cpp b/source/blender/freestyle/intern/python/UnaryFunction0D/BPy_UnaryFunction0DId.cpp
index 6c2261afe8b..a1e9c2988e4 100644
--- a/source/blender/freestyle/intern/python/UnaryFunction0D/BPy_UnaryFunction0DId.cpp
+++ b/source/blender/freestyle/intern/python/UnaryFunction0D/BPy_UnaryFunction0DId.cpp
@@ -88,10 +88,6 @@ static PyObject * UnaryFunction0DId___call__(BPy_UnaryFunction0DId *self, PyObje
return BPy_Id_from_Id(self->uf0D_id->result);
}
-static PyMethodDef BPy_UnaryFunction0DId_methods[] = {
- {NULL, NULL, 0, NULL}
-};
-
/*-----------------------BPy_UnaryFunction0DId type definition ------------------------------*/
PyTypeObject UnaryFunction0DId_Type = {
@@ -122,7 +118,7 @@ PyTypeObject UnaryFunction0DId_Type = {
0, /* tp_weaklistoffset */
0, /* tp_iter */
0, /* tp_iternext */
- BPy_UnaryFunction0DId_methods, /* tp_methods */
+ 0, /* tp_methods */
0, /* tp_members */
0, /* tp_getset */
&UnaryFunction0D_Type, /* tp_base */
diff --git a/source/blender/freestyle/intern/python/UnaryFunction0D/BPy_UnaryFunction0DMaterial.cpp b/source/blender/freestyle/intern/python/UnaryFunction0D/BPy_UnaryFunction0DMaterial.cpp
index 8a612658d13..4f40f081470 100644
--- a/source/blender/freestyle/intern/python/UnaryFunction0D/BPy_UnaryFunction0DMaterial.cpp
+++ b/source/blender/freestyle/intern/python/UnaryFunction0D/BPy_UnaryFunction0DMaterial.cpp
@@ -61,7 +61,6 @@ static void UnaryFunction0DMaterial___dealloc__(BPy_UnaryFunction0DMaterial* sel
UnaryFunction0D_Type.tp_dealloc((PyObject*)self);
}
-
static PyObject * UnaryFunction0DMaterial___repr__(BPy_UnaryFunction0DMaterial* self)
{
return PyUnicode_FromFormat("type: %s - address: %p", Py_TYPE(self)->tp_name, self->uf0D_material);
@@ -89,10 +88,6 @@ static PyObject * UnaryFunction0DMaterial___call__(BPy_UnaryFunction0DMaterial *
return BPy_FrsMaterial_from_FrsMaterial(self->uf0D_material->result);
}
-static PyMethodDef BPy_UnaryFunction0DMaterial_methods[] = {
- {NULL, NULL, 0, NULL}
-};
-
/*-----------------------BPy_UnaryFunction0DMaterial type definition ------------------------------*/
PyTypeObject UnaryFunction0DMaterial_Type = {
@@ -123,7 +118,7 @@ PyTypeObject UnaryFunction0DMaterial_Type = {
0, /* tp_weaklistoffset */
0, /* tp_iter */
0, /* tp_iternext */
- BPy_UnaryFunction0DMaterial_methods, /* tp_methods */
+ 0, /* tp_methods */
0, /* tp_members */
0, /* tp_getset */
&UnaryFunction0D_Type, /* tp_base */
diff --git a/source/blender/freestyle/intern/python/UnaryFunction0D/BPy_UnaryFunction0DUnsigned.cpp b/source/blender/freestyle/intern/python/UnaryFunction0D/BPy_UnaryFunction0DUnsigned.cpp
index 318e6007087..6bda7831c8d 100644
--- a/source/blender/freestyle/intern/python/UnaryFunction0D/BPy_UnaryFunction0DUnsigned.cpp
+++ b/source/blender/freestyle/intern/python/UnaryFunction0D/BPy_UnaryFunction0DUnsigned.cpp
@@ -88,10 +88,6 @@ static PyObject * UnaryFunction0DUnsigned___call__(BPy_UnaryFunction0DUnsigned *
return PyLong_FromLong(self->uf0D_unsigned->result);
}
-static PyMethodDef BPy_UnaryFunction0DUnsigned_methods[] = {
- {NULL, NULL, 0, NULL}
-};
-
/*-----------------------BPy_UnaryFunction0DUnsigned type definition ------------------------------*/
PyTypeObject UnaryFunction0DUnsigned_Type = {
@@ -122,7 +118,7 @@ PyTypeObject UnaryFunction0DUnsigned_Type = {
0, /* tp_weaklistoffset */
0, /* tp_iter */
0, /* tp_iternext */
- BPy_UnaryFunction0DUnsigned_methods, /* tp_methods */
+ 0, /* tp_methods */
0, /* tp_members */
0, /* tp_getset */
&UnaryFunction0D_Type, /* tp_base */
diff --git a/source/blender/freestyle/intern/python/UnaryFunction0D/BPy_UnaryFunction0DVec2f.cpp b/source/blender/freestyle/intern/python/UnaryFunction0D/BPy_UnaryFunction0DVec2f.cpp
index 86df60a24b2..f3a7519950c 100644
--- a/source/blender/freestyle/intern/python/UnaryFunction0D/BPy_UnaryFunction0DVec2f.cpp
+++ b/source/blender/freestyle/intern/python/UnaryFunction0D/BPy_UnaryFunction0DVec2f.cpp
@@ -94,10 +94,6 @@ static PyObject * UnaryFunction0DVec2f___call__(BPy_UnaryFunction0DVec2f *self,
return Vector_from_Vec2f(self->uf0D_vec2f->result);
}
-static PyMethodDef BPy_UnaryFunction0DVec2f_methods[] = {
- {NULL, NULL, 0, NULL}
-};
-
/*-----------------------BPy_UnaryFunction0DVec2f type definition ------------------------------*/
PyTypeObject UnaryFunction0DVec2f_Type = {
@@ -128,7 +124,7 @@ PyTypeObject UnaryFunction0DVec2f_Type = {
0, /* tp_weaklistoffset */
0, /* tp_iter */
0, /* tp_iternext */
- BPy_UnaryFunction0DVec2f_methods, /* tp_methods */
+ 0, /* tp_methods */
0, /* tp_members */
0, /* tp_getset */
&UnaryFunction0D_Type, /* tp_base */
diff --git a/source/blender/freestyle/intern/python/UnaryFunction0D/BPy_UnaryFunction0DVec3f.cpp b/source/blender/freestyle/intern/python/UnaryFunction0D/BPy_UnaryFunction0DVec3f.cpp
index 3474860a067..a4fd4f64a4b 100644
--- a/source/blender/freestyle/intern/python/UnaryFunction0D/BPy_UnaryFunction0DVec3f.cpp
+++ b/source/blender/freestyle/intern/python/UnaryFunction0D/BPy_UnaryFunction0DVec3f.cpp
@@ -88,10 +88,6 @@ static PyObject * UnaryFunction0DVec3f___call__(BPy_UnaryFunction0DVec3f *self,
return Vector_from_Vec3f(self->uf0D_vec3f->result);
}
-static PyMethodDef BPy_UnaryFunction0DVec3f_methods[] = {
- {NULL, NULL, 0, NULL}
-};
-
/*-----------------------BPy_UnaryFunction0DVec3f type definition ------------------------------*/
PyTypeObject UnaryFunction0DVec3f_Type = {
@@ -122,7 +118,7 @@ PyTypeObject UnaryFunction0DVec3f_Type = {
0, /* tp_weaklistoffset */
0, /* tp_iter */
0, /* tp_iternext */
- BPy_UnaryFunction0DVec3f_methods, /* tp_methods */
+ 0, /* tp_methods */
0, /* tp_members */
0, /* tp_getset */
&UnaryFunction0D_Type, /* tp_base */
diff --git a/source/blender/freestyle/intern/python/UnaryFunction0D/BPy_UnaryFunction0DVectorViewShape.cpp b/source/blender/freestyle/intern/python/UnaryFunction0D/BPy_UnaryFunction0DVectorViewShape.cpp
index 01c884f8de2..fc71cb73602 100644
--- a/source/blender/freestyle/intern/python/UnaryFunction0D/BPy_UnaryFunction0DVectorViewShape.cpp
+++ b/source/blender/freestyle/intern/python/UnaryFunction0D/BPy_UnaryFunction0DVectorViewShape.cpp
@@ -102,10 +102,6 @@ static PyObject * UnaryFunction0DVectorViewShape___call__(BPy_UnaryFunction0DVec
return list;
}
-static PyMethodDef BPy_UnaryFunction0DVectorViewShape_methods[] = {
- {NULL, NULL, 0, NULL}
-};
-
/*-----------------------BPy_UnaryFunction0DVectorViewShape type definition ------------------------------*/
PyTypeObject UnaryFunction0DVectorViewShape_Type = {
@@ -136,7 +132,7 @@ PyTypeObject UnaryFunction0DVectorViewShape_Type = {
0, /* tp_weaklistoffset */
0, /* tp_iter */
0, /* tp_iternext */
- BPy_UnaryFunction0DVectorViewShape_methods, /* tp_methods */
+ 0, /* tp_methods */
0, /* tp_members */
0, /* tp_getset */
&UnaryFunction0D_Type, /* tp_base */
diff --git a/source/blender/freestyle/intern/python/UnaryFunction0D/BPy_UnaryFunction0DViewShape.cpp b/source/blender/freestyle/intern/python/UnaryFunction0D/BPy_UnaryFunction0DViewShape.cpp
index 96bb4c65701..b27de41109c 100644
--- a/source/blender/freestyle/intern/python/UnaryFunction0D/BPy_UnaryFunction0DViewShape.cpp
+++ b/source/blender/freestyle/intern/python/UnaryFunction0D/BPy_UnaryFunction0DViewShape.cpp
@@ -94,10 +94,6 @@ static PyObject * UnaryFunction0DViewShape___call__(BPy_UnaryFunction0DViewShape
return BPy_ViewShape_from_ViewShape(*(self->uf0D_viewshape->result));
}
-static PyMethodDef BPy_UnaryFunction0DViewShape_methods[] = {
- {NULL, NULL, 0, NULL}
-};
-
/*-----------------------BPy_UnaryFunction0DViewShape type definition ------------------------------*/
PyTypeObject UnaryFunction0DViewShape_Type = {
@@ -128,7 +124,7 @@ PyTypeObject UnaryFunction0DViewShape_Type = {
0, /* tp_weaklistoffset */
0, /* tp_iter */
0, /* tp_iternext */
- BPy_UnaryFunction0DViewShape_methods, /* tp_methods */
+ 0, /* tp_methods */
0, /* tp_members */
0, /* tp_getset */
&UnaryFunction0D_Type, /* tp_base */