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

Re: Things I learned making cvs2svn work today

From: Greg Stein <gstein_at_lyra.org>
Date: 2002-02-04 00:26:19 CET

On Sat, Feb 02, 2002 at 08:42:32PM -0500, Daniel Berlin wrote:
>...
> In 1.3.10 only the first %typemap(ignore) it sees does code replacement.

Eek. Yah, that's bad :-)

> There's a bug in swig's emit.cxx. It'll still ignore the arguments, but
> never output the actual code inside the typemap except for the first one.
> This of course, results in unitialized values (since it never does the $1
> = &temp usually inside)

If I were to guess, you probably have more "SWIG fu" than me :-)

(but that's easy; this is really the first time that I've used SWIG, so I
 don't claim to have much 'fu at all :-)

>...
> > If not, then we may want to think about your approach of passing in tuples.
> > However, I'd think in most of the cases where a pool is needed to allocate a
> > stringbuf or whatnot, there is already a pool available as another parameter
> > which can be used.
>
> Hopefully.

Note that we can usually change the signature if needed to ensure that we
have that pool parameter :-)

Still waiting for your SWIG bindings patches...

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 Sat Oct 21 14:37:04 2006

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.