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

Re: [PATCH] Use ifdefs for language-specific typemaps

From: Max Bowsher <maxb1_at_ukf.net>
Date: 2006-06-04 18:57:53 CEST

Jelmer Vernooij wrote:
> Hi,
>
> The attached patch changes some of the core SWIG files to use ifdefs
> rather than language-specific typemaps, which have been deprecated in
> SWIG. SWIG generates a warning on each of these, making it hard to
> notice other warnings.
>
> These particular defines are already used in the SWIG code for
> Subversion, so there should be no problem with old versions of SWIG not
> defining them.
>
> [[[
>
> * subversion/bindings/swig/include/apr.swg
> subversion/bindings/swig/include/svn_string.swg
> subversion/bindings/swig/include/svn_types.swg:
> Use ifdefs around language-specific typemaps
>
> ]]]

Rather than apply a patch converting only some of the files, I wrote a
Python script which automatically tweaked the code appropriately, and
ran it.

Done in r19926,7,8.

Max.

Received on Sun Jun 4 18:58:46 2006

This is an archived mail posted to the Subversion Dev mailing list.