Re: svn commit: rev 7349 - trunk/subversion/bindings/swig
From: Greg Stein <gstein_at_lyra.org>
Date: 2003-10-08 14:34:22 CEST
On Wed, Oct 08, 2003 at 12:56:35AM -0500, rey4@tigris.org wrote:
Nope. The status callback has a "void" return type. It doesn't want any
That said, it is an interesting question: may it *should* return an error.
> + if ((result = PyObject_CallFunction(function, (char *)"sO&", path,
I'd restructure as:
if ((result = PyObject_CallFunction(...)) == NULL)
You *really* don't want to leave an exception hanging about.
Cheers,
-- Greg Stein, http://www.lyra.org/ --------------------------------------------------------------------- To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org For additional commands, e-mail: dev-help@subversion.tigris.orgReceived on Wed Oct 8 14:38:54 2003 |
This is an archived mail posted to the Subversion Dev mailing list.
This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.