diff options
author | Tamito Kajiyama <rd6t-kjym@asahi-net.or.jp> | 2013-02-22 07:04:52 +0400 |
---|---|---|
committer | Tamito Kajiyama <rd6t-kjym@asahi-net.or.jp> | 2013-02-22 07:04:52 +0400 |
commit | 025feb240d6aad7419dd415fc3230f04b9e2aecf (patch) | |
tree | f7ebfb68e157a0d6bb64de158ee16d35c3e280ce /source/blender/freestyle/intern/python/UnaryFunction1D/BPy_UnaryFunction1DDouble.cpp | |
parent | a4a7341aef2e772b7a233ade5dbccfbb959fd8e4 (diff) |
Code clean-up: removed empty PyMethodDef.
Diffstat (limited to 'source/blender/freestyle/intern/python/UnaryFunction1D/BPy_UnaryFunction1DDouble.cpp')
-rw-r--r-- | source/blender/freestyle/intern/python/UnaryFunction1D/BPy_UnaryFunction1DDouble.cpp | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/source/blender/freestyle/intern/python/UnaryFunction1D/BPy_UnaryFunction1DDouble.cpp b/source/blender/freestyle/intern/python/UnaryFunction1D/BPy_UnaryFunction1DDouble.cpp index 583cfd8a092..80e6620769e 100644 --- a/source/blender/freestyle/intern/python/UnaryFunction1D/BPy_UnaryFunction1DDouble.cpp +++ b/source/blender/freestyle/intern/python/UnaryFunction1D/BPy_UnaryFunction1DDouble.cpp @@ -184,10 +184,6 @@ static PyObject * UnaryFunction1DDouble___call__(BPy_UnaryFunction1DDouble *self return PyFloat_FromDouble(self->uf1D_double->result); } -static PyMethodDef BPy_UnaryFunction1DDouble_methods[] = { - {NULL, NULL, 0, NULL} -}; - /*----------------------UnaryFunction1DDouble get/setters ----------------------------*/ PyDoc_STRVAR(integration_type_doc, @@ -245,7 +241,7 @@ PyTypeObject UnaryFunction1DDouble_Type = { 0, /* tp_weaklistoffset */ 0, /* tp_iter */ 0, /* tp_iternext */ - BPy_UnaryFunction1DDouble_methods, /* tp_methods */ + 0, /* tp_methods */ 0, /* tp_members */ BPy_UnaryFunction1DDouble_getseters, /* tp_getset */ &UnaryFunction1D_Type, /* tp_base */ |