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_UnaryFunction1DFloat.cpp | |
parent | a4a7341aef2e772b7a233ade5dbccfbb959fd8e4 (diff) |
Code clean-up: removed empty PyMethodDef.
Diffstat (limited to 'source/blender/freestyle/intern/python/UnaryFunction1D/BPy_UnaryFunction1DFloat.cpp')
-rw-r--r-- | source/blender/freestyle/intern/python/UnaryFunction1D/BPy_UnaryFunction1DFloat.cpp | 7 |
1 files changed, 1 insertions, 6 deletions
diff --git a/source/blender/freestyle/intern/python/UnaryFunction1D/BPy_UnaryFunction1DFloat.cpp b/source/blender/freestyle/intern/python/UnaryFunction1D/BPy_UnaryFunction1DFloat.cpp index 3cbb45da28c..ab41429b476 100644 --- a/source/blender/freestyle/intern/python/UnaryFunction1D/BPy_UnaryFunction1DFloat.cpp +++ b/source/blender/freestyle/intern/python/UnaryFunction1D/BPy_UnaryFunction1DFloat.cpp @@ -96,13 +96,8 @@ static PyObject * UnaryFunction1DFloat___call__(BPy_UnaryFunction1DFloat *self, return NULL; } return PyFloat_FromDouble(self->uf1D_float->result); - } -static PyMethodDef BPy_UnaryFunction1DFloat_methods[] = { - {NULL, NULL, 0, NULL} -}; - /*----------------------UnaryFunction1DFloat get/setters ----------------------------*/ PyDoc_STRVAR(integration_type_doc, @@ -160,7 +155,7 @@ PyTypeObject UnaryFunction1DFloat_Type = { 0, /* tp_weaklistoffset */ 0, /* tp_iter */ 0, /* tp_iternext */ - BPy_UnaryFunction1DFloat_methods, /* tp_methods */ + 0, /* tp_methods */ 0, /* tp_members */ BPy_UnaryFunction1DFloat_getseters, /* tp_getset */ &UnaryFunction1D_Type, /* tp_base */ |