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