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

Re: [PATCH] Cancellation editor discards abort_edit

From: Karl Fogel <kfogel_at_red-bean.com>
Date: Thu, 03 Apr 2008 00:20:12 -0400

Eric Gillespie <epg_at_pretzelnet.org> writes:
>> Yeah, I believe that you *can* add new callbacks; you just can't add
>> new callbacks that must ~always have a non-default implementation.
>
> I'm not sure how well that's going to work out in practice,
> especially with something like the editor interface, but OK. Is
> this what you had in mind?
>
> Index: svn_delta.h
> ===================================================================
> --- svn_delta.h (revision 30158)
> +++ svn_delta.h (working copy)
> @@ -922,6 +922,8 @@
> svn_error_t *(*abort_edit)(void *edit_baton,
> apr_pool_t *pool);
>
> + /* Be sure to update svn_delta_get_cancellation_editor and
> + * svn_delta_default_editor if you add a new callback here. */
> } svn_delta_editor_t;

Yes, with "()"s. Also, we should add something to the main doc string
indicating that one should never allocate these things oneself.

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe_at_subversion.tigris.org
For additional commands, e-mail: dev-help_at_subversion.tigris.org
Received on 2008-04-03 06:20:24 CEST

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.