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

Re: [PATCH] Fix callbacks argument for svn.ra.open2() in Python bindings

From: Garrett Rooney <rooneg_at_electricjellyfish.net>
Date: 2006-05-10 23:39:22 CEST

On 5/10/06, Jelmer Vernooij <jelmer@samba.org> wrote:
> Hi,
>
> The attached patch makes the SWIG bindings throw an exception whenever a
> svn_ra_callbacks2_t() argument is NULL and allows the user to pass in a
> Python object for callbacks (none of the functions on this object are
> called yet).
>
> Is calling svn_swig_py_svn_exception() directly like I do in
> svn_swig_py_setup_ra_callbacks correct?

Applied in r19607, with some tweaks to the log message and intending
in one file. I think the use of svn_swig_py_svn_exception is ok, it
sure looks the same as the way the bindings use it, anyway.

-garrett

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Wed May 10 23:39:55 2006

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