bind: cleanups

This commit is contained in:
Sebastien Binet 2015-07-29 11:42:40 +02:00
parent 4a098ea7a8
commit 0bb7490204
1 changed files with 0 additions and 18 deletions

View File

@ -386,19 +386,6 @@ func (g *cpyGen) genStructMembers(cpy Struct) {
g.impl.Printf("{NULL} /* Sentinel */\n") g.impl.Printf("{NULL} /* Sentinel */\n")
g.impl.Outdent() g.impl.Outdent()
g.impl.Printf("};\n\n") g.impl.Printf("};\n\n")
/*
static PyGetSetDef Noddy_getseters[] = {
{"first",
(getter)Noddy_getfirst, (setter)Noddy_setfirst,
"first name",
NULL},
{"last",
(getter)Noddy_getlast, (setter)Noddy_setlast,
"last name",
NULL},
{NULL}
};
*/
/* /*
static PyObject * static PyObject *
Noddy_getfirst(Noddy *self, void *closure) Noddy_getfirst(Noddy *self, void *closure)
@ -633,11 +620,6 @@ func (g *cpyGen) genStructMethods(cpy Struct) {
margs, margs,
m.Doc(), m.Doc(),
) )
/*
{"name", (PyCFunction)Noddy_name, METH_NOARGS,
"Return the name, combining the first and last name"
},
*/
} }
g.impl.Printf("{NULL} /* sentinel */\n") g.impl.Printf("{NULL} /* sentinel */\n")
g.impl.Outdent() g.impl.Outdent()