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/UnaryFunction1D/BPy_UnaryFunction1DVec3f.cpp
parenta4a7341aef2e772b7a233ade5dbccfbb959fd8e4 (diff)
Code clean-up: removed empty PyMethodDef.
Diffstat (limited to 'source/blender/freestyle/intern/python/UnaryFunction1D/BPy_UnaryFunction1DVec3f.cpp')
-rw-r--r--source/blender/freestyle/intern/python/UnaryFunction1D/BPy_UnaryFunction1DVec3f.cpp8
1 files changed, 2 insertions, 6 deletions
diff --git a/source/blender/freestyle/intern/python/UnaryFunction1D/BPy_UnaryFunction1DVec3f.cpp b/source/blender/freestyle/intern/python/UnaryFunction1D/BPy_UnaryFunction1DVec3f.cpp
index 3fa1a24f004..1e2dbeeff14 100644
--- a/source/blender/freestyle/intern/python/UnaryFunction1D/BPy_UnaryFunction1DVec3f.cpp
+++ b/source/blender/freestyle/intern/python/UnaryFunction1D/BPy_UnaryFunction1DVec3f.cpp
@@ -70,6 +70,7 @@ static int UnaryFunction1DVec3f___init__(BPy_UnaryFunction1DVec3f* self, PyObjec
return 0;
}
+
static void UnaryFunction1DVec3f___dealloc__(BPy_UnaryFunction1DVec3f* self)
{
if (self->uf1D_vec3f)
@@ -103,13 +104,8 @@ static PyObject * UnaryFunction1DVec3f___call__(BPy_UnaryFunction1DVec3f *self,
return NULL;
}
return Vector_from_Vec3f(self->uf1D_vec3f->result);
-
}
-static PyMethodDef BPy_UnaryFunction1DVec3f_methods[] = {
- {NULL, NULL, 0, NULL}
-};
-
/*----------------------UnaryFunction1DVec3f get/setters ----------------------------*/
PyDoc_STRVAR(integration_type_doc,
@@ -167,7 +163,7 @@ PyTypeObject UnaryFunction1DVec3f_Type = {
0, /* tp_weaklistoffset */
0, /* tp_iter */
0, /* tp_iternext */
- BPy_UnaryFunction1DVec3f_methods, /* tp_methods */
+ 0, /* tp_methods */
0, /* tp_members */
BPy_UnaryFunction1DVec3f_getseters, /* tp_getset */
&UnaryFunction1D_Type, /* tp_base */