Code clean-up: removed empty PyMethodDef.

This commit is contained in:
Tamito Kajiyama
2013-02-22 03:04:52 +00:00
parent a4a7341aef
commit 025feb240d
18 changed files with 19 additions and 96 deletions

View File

@@ -61,7 +61,6 @@ static void UnaryFunction0DMaterial___dealloc__(BPy_UnaryFunction0DMaterial* sel
UnaryFunction0D_Type.tp_dealloc((PyObject*)self);
}
static PyObject * UnaryFunction0DMaterial___repr__(BPy_UnaryFunction0DMaterial* self)
{
return PyUnicode_FromFormat("type: %s - address: %p", Py_TYPE(self)->tp_name, self->uf0D_material);
@@ -89,10 +88,6 @@ static PyObject * UnaryFunction0DMaterial___call__(BPy_UnaryFunction0DMaterial *
return BPy_FrsMaterial_from_FrsMaterial(self->uf0D_material->result);
}
static PyMethodDef BPy_UnaryFunction0DMaterial_methods[] = {
{NULL, NULL, 0, NULL}
};
/*-----------------------BPy_UnaryFunction0DMaterial type definition ------------------------------*/
PyTypeObject UnaryFunction0DMaterial_Type = {
@@ -123,7 +118,7 @@ PyTypeObject UnaryFunction0DMaterial_Type = {
0, /* tp_weaklistoffset */
0, /* tp_iter */
0, /* tp_iternext */
BPy_UnaryFunction0DMaterial_methods, /* tp_methods */
0, /* tp_methods */
0, /* tp_members */
0, /* tp_getset */
&UnaryFunction0D_Type, /* tp_base */