From 0bb74902042f11ba652aef59e5837a7d1ac16404 Mon Sep 17 00:00:00 2001 From: Sebastien Binet Date: Wed, 29 Jul 2015 11:42:40 +0200 Subject: [PATCH] bind: cleanups --- bind/gencpy.go | 18 ------------------ 1 file changed, 18 deletions(-) diff --git a/bind/gencpy.go b/bind/gencpy.go index e39ed2c..2376b55 100644 --- a/bind/gencpy.go +++ b/bind/gencpy.go @@ -386,19 +386,6 @@ func (g *cpyGen) genStructMembers(cpy Struct) { g.impl.Printf("{NULL} /* Sentinel */\n") g.impl.Outdent() 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 * Noddy_getfirst(Noddy *self, void *closure) @@ -633,11 +620,6 @@ func (g *cpyGen) genStructMethods(cpy Struct) { margs, 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.Outdent()