aboutsummaryrefslogtreecommitdiffstats
path: root/tests/samplebinding
diff options
context:
space:
mode:
authorMarcelo Lira <marcelo.lira@openbossa.org>2009-12-21 17:33:36 -0300
committerMarcelo Lira <marcelo.lira@openbossa.org>2009-12-21 17:33:36 -0300
commit315c1fa52fcb7976b58bd07aa88b306fa1c4d7e7 (patch)
treee48f5af63ff3a97ae8247f52d397ddb4fe80860e /tests/samplebinding
parent30b8dbe1327ecf34143f33c2005bc1064f671b08 (diff)
Removes unnecessary comments from Complex converter test header.
Diffstat (limited to 'tests/samplebinding')
-rw-r--r--tests/samplebinding/complex_conversions.h9
1 files changed, 0 insertions, 9 deletions
diff --git a/tests/samplebinding/complex_conversions.h b/tests/samplebinding/complex_conversions.h
index bd1f2cd2a..c42d42161 100644
--- a/tests/samplebinding/complex_conversions.h
+++ b/tests/samplebinding/complex_conversions.h
@@ -7,15 +7,6 @@ struct Converter<Complex>
}
static PyObject* toPython(Complex cpx)
{
- /*
- fprintf(stderr, "[%s:%d] cpx.real: %f, cpx.imag: %f\n",
- __PRETTY_FUNCTION__, __LINE__, cpx.value.real(), cpx.value.imag());
- PyObject* result = PyComplex_FromDoubles(cpx.value.real(), cpx.value.imag());
- fprintf(stderr, "[%s:%d]", __PRETTY_FUNCTION__, __LINE__);
- PyObject_Print(result, stderr, 0);
- fprintf(stderr, "\n");
- return result;
- */
return PyComplex_FromDoubles(cpx.real(), cpx.imag());
}
static Complex toCpp(PyObject* pyobj)