diff options
Diffstat (limited to 'source/blender/freestyle/intern/python/UnaryFunction0D/BPy_UnaryFunction0DFloat.cpp')
-rw-r--r-- | source/blender/freestyle/intern/python/UnaryFunction0D/BPy_UnaryFunction0DFloat.cpp | 6 |
1 files changed, 1 insertions, 5 deletions
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 */ |