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