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

Re: SWIG Again

From: Max Bowsher <maxb_at_ukf.net>
Date: 2005-01-13 15:29:17 CET

John Lenz wrote:

> --- subversion/subversion/bindings/swig/core.i~fixswig
> +++ subversion/subversion/bindings/swig/core.i
> @@ -303,6 +303,17 @@
> */
> #ifdef SWIGPERL
>
> +/* Fix for SWIG 1.3.24 */
> +#if SWIG_VERSION == 0x010324
> +%typemap(varin) apr_pool_t * {
> + void *temp;
> + if (SWIG_ConvertPtr($input, (void **) &temp, $1_descriptor,0) <
> 0) {
> + croak("Type error in argument $argnum of $symname. Expected
> $1_mangle"); + }
> + $1 = ($1_ltype) temp;
> +}
> +#endif
> +
> apr_pool_t *current_pool;
>
> %{

I've started to investigate swig 1.3.24 support (and successfully got
mailer.py working with a swig 1.3.24 bindings install!).

I don't understand the above chunk of patch though.

Could someone explain why it is needed, and confirm whether it really is
just for swig 1.3.24, or should be for 1.3.24 and later?

Thanks,

Max.

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Thu Jan 13 15:31:16 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.