[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 4550 - trunk/subversion/bindings/swig

From: <kfogel_at_newton.ch.collab.net>
Date: 2003-01-24 01:42:19 CET

Jon Middleton jjm@ixtab.org.uk writes:
 cmpilato@collab.net wrote:
  Sorry, can't clear this patch. 'apr_hash_t *' is not always used an
  output parameter in svn_wc.h. We'll need some typemap work I
  imagine to handle individual different cases where this is used as
  input or output.

Thanks for following up, Jon.

I thought that Swig automatically noticed '*' versus '**'. That place
in subversion/bindings/swig/svn_wc.i says:

   /* -------------------------------------------------------------------
      these types (as 'type **') will always be an OUT param
   */
   %apply SWIGTYPE **OUTPARAM {
       svn_wc_entry_t **,
       svn_wc_adm_access_t **,
       svn_wc_status_t **,
       apr_hash_t **
   };

... which indicates to me that parameters appearing as apr_hash_t *
would be unaffected.

Mike knows a lot more than I do about this, however. Mike, if the
application was wrong, just say the word and I will revert 4550.

-Karl

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Sat Oct 14 02:11:00 2006

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.