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

Re: swig changes for svn_txdelta_apply

From: Chia-liang Kao <clkao_at_clkao.org>
Date: 2005-09-18 22:42:10 CEST

On Sun, Sep 18, 2005 at 06:49:46PM +0900, Kouhei Sutou wrote:
> > This patch will fix the immediate problem with the Perl API incompatibility.
> > However, clkao raises a good question as to how to bring the Perl bindings
> > in line with this API in the long term, yet not break API compatibility in
> > the short term.
>
> The following pseudo Ruby (sorry, I can't write Perl...)
> code shows my suggested approach:

Yes, I have a working compatibility layer in SVN::Delta now.
But now I remember why I didn't wrap the returned md5 argument.
Because it's something to be populated upon the final call to
the returned handle, the md5 can't be casted in the perl land
just as is when txdelta_apply is called.

There has to be some tie magic to make use of the reserved char[].

Cheers,
CLK

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Sun Sep 18 22:46:07 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.