[svn.haxx.se] · SVN Dev · SVN Users · SVN Org · TSVN Dev · TSVN Users · Subclipse Dev · Subclipse Users · this month's index

Re: subversion & swig 1.3.14

From: Greg Stein <gstein_at_lyra.org>
Date: 2002-08-22 20:20:06 CEST

On Thu, Aug 22, 2002 at 01:26:51PM -0300, Gustavo Niemeyer wrote:
> Hi everyone.
>
> I'm not sure if this was already noticed, but I've tried to use the
> python interface with swig 1.3.14 and found some problems. Here's what
> I've done to fix it:
>
> - Removed the "_" prefix from every module name (%module directive),
> otherwise compiled module names end up like __fs instead of _fs.

The correct change is to use -noproxy on the commnd line for swig. We
already supply our own proxy stubs, so we don't want SWIG's. (in fact, I
need to take a look at what SWIG generates and see if we should find a way
to incorporate them somehow).

> - Applied the attached patch to use the "fragment" typemap parameter,
> so that t_output_helper is properly defined when needed.

Hmm. I'll have to look at this one (still reading thru the CHANGES doc for
1.3.14).

> - Changed configure.in to accept this new version

Yah... now that 1.3.14 is released, we need to look into upgrading our SWIG
support to that version (or at least, detecting the SWIG version and
altering our behavior accordingly). Note that Daniel Berlin had said that
1.3.14 is unstable (altho I'm not sure whether he meant that *swig* was
unstable, or our use of it).

Cheers,
-g

-- 
Greg Stein, http://www.lyra.org/
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Thu Aug 22 20:16:02 2002

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.