[C++-sig] Re: Problem with different return types.
s_sourceforge at nedprod.com
Sun Feb 8 08:12:23 CET 2004
-----BEGIN PGP SIGNED MESSAGE-----
On 7 Feb 2004 at 11:27, Hanz Meizer wrote:
> > delete the def("getC", (const C& (*)(void) const) &getC) version.
> > Python never calls from within a const context anyway.
> Does anyone happen to know how to do this in pyste? I could write
> exclude(C.getC), but this removes both versions.
I personally hacked pyste to stop it for this particular case (as
well as casting off any throw() modifiers), but here I recommend you
diff your fixed version agains the pyste output and simply reapply
the patch after every regeneration. I do this a lot to munge in
custom list converters.
-----BEGIN PGP SIGNATURE-----
Version: idw's PGP-Frontend 18.104.22.168 / 9-2003 + PGP 8.0.2
-----END PGP SIGNATURE-----
More information about the Cplusplus-sig