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

Re: [Swig] SWIG 1.3.21 and SWIG_TypeQuery

From: John Lenz <lenz_at_cs.wisc.edu>
Date: 2005-08-05 05:29:47 CEST

On Wed, August 3, 2005 8:32 am, David James said:
> In the Subversion project, we use SWIG_TypeQuery to access type
> information on Python/SWIG objects from within a utility library in
> Subversion. In SWIG 1.3.20 and SWIG 1.3.21, the SWIG_TypeQuery
> function is not able to find all of Subversion's datatypes. (For some
> datatypes, such as Subversion's svn_fs_root_t * struct, it returns
> NULL.)

I responded to your other mail on subversion-dev@ mailing list, but I'll
just repeat the basics here.

Before 1.3.24/25, the runtime system was kinda brittle. The 1.3.25 code
is much easier to understand (and thus much easier to fix bugs). I
shudder at the prospect of trying to debug the old runtime system...

Moreover, SWIG now is a tool like lex or yacc, where the outputs from SWIG
can be compiled on any computer, independent of if SWIG is installed or
not. How to do that now is documented in the manual, in the Modules
section. Thus, only the developers need to have 1.3.25 installed, the
released tarball can include the generated wrapper code.



To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Fri Aug 5 06:05:52 2005

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.