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

Re: svn commit: rev 4848 - trunk/subversion/bindings/swig

From: Greg Stein <gstein_at_lyra.org>
Date: 2003-02-13 02:52:14 CET

On Tue, Feb 11, 2003 at 05:57:46PM -0600, dlr@tigris.org wrote:
>...
> +++ trunk/subversion/bindings/swig/apr.i Tue Feb 11 17:57:29 2003
>...
> /* -----------------------------------------------------------------------
> handle apr_file_t *
> */
> @@ -153,7 +162,7 @@
> apr_file_t ** is always an OUT param
> */
>
> -%typemap(in,numinputs=0) apr_file_t ** (apr_file_t *temp)
> +%typemap(python, in, numinputs=0) apr_file_t ** (apr_file_t *temp)
> "$1 = &temp;";

I see nothing Python specific there. Why was this change made?

As much as possible, we should NOT insert language-specific tags in this
SWIG stuff. That just introduces duplication and, thus, dual maintenance
problems.

Heck, I'm hoping that we might find some patterns in the Java vs Python SWIG
typemaps. If we *do*, then we could create some SWIG macros to deal with
those differences, and then unify some typemaps. Just gotta wait and see
where we end up...

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 Thu Feb 13 02:48:35 2003

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