Re: svn commit: rev 5143 - trunk/subversion/bindings/swig
From: Greg Stein <gstein_at_lyra.org>
Date: 2003-03-01 03:49:36 CET
On Fri, Feb 28, 2003 at 08:45:26AM -0600, Karl Fogel wrote:
Well, technically it is where the type mapping results in Py_None for the
In any case... yes, the same problem could occur elsewhere. I'm not sure how
> Obviously your change is a big improvement over the previous
Yup, as I similarly explained in another email to Marshall.
> If so, I might spend an hour working up a patch for SWIG, unless
Right now, SWIG initializes the result to Py_None so that you have something
But at the point that "return resultobj;" is performed, you'd need to do
if (resultobj)
I bet SWIG has a way to alter the return processing, but I don't know it off
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 Sat Mar 1 03:44: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.