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

Re: Questions about svn_error_clear().

From: Garrett Rooney <rooneg_at_electricjellyfish.net>
Date: 2004-12-16 14:35:18 CET

Steven Kirk wrote:

> Another option
>
> #define svn_error_clear(err) svn_error_clear2(&(err))
>
> And at the end of svn_error_clear_internal:
>
> *err = NULL;
>
> svn_error_clear() would remain in the svn libs as to not break binary
> compatibility.

Can't do that because it changes the signature of the function consumers
of the API get when they write svn_error_clear, suddenly all their code
breaks because they're not passing a pointer to a pointer to an error
object. It would preserve binary compatability, but not source
compatability, we need both.

-garrett

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Thu Dec 16 14:36:42 2004

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.