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

Re: Bindings broken?

From: Edward S. Marshall <esm_at_logic.net>
Date: 2003-02-12 17:16:21 CET

On Wed, Feb 12, 2003 at 09:59:58AM -0600, Edward S. Marshall wrote:
> Reverting this ought to bring back the old behavior, to the best of my
> knowledge (since this definitely isn't java-specific behavior).

Yep, that fixed it. Patch attached below. Someone from the Java camp
should probably test this. ;-)

* subversion/bindings/swig/apr.i: Revert change from r4788 which made
    OUTPUT parameter conversion for apr_time_t a Java-specific change.
    Pythons need lovin' too...

Index: subversion/bindings/swig/apr.i
===================================================================
--- subversion/bindings/swig/apr.i (revision 4856)
+++ subversion/bindings/swig/apr.i (working copy)
@@ -71,7 +71,7 @@
 %apply long long { apr_time_t };
 
 /* 'apr_time_t *' will always be an OUTPUT parameter */
-%typemap(java,in,numinputs=0) apr_time_t * (apr_time_t temp)
+%typemap(in,numinputs=0) apr_time_t * (apr_time_t temp)
     "$1 = &temp;";
 
 %typemap(python,argout,fragment="t_output_helper") apr_time_t *

-- 
Edward S. Marshall <esm@logic.net>
http://esm.logic.net/
Felix qui potuit rerum cognoscere causas.
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Wed Feb 12 17:17:08 2003

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.