On Mon, 18 Aug 2008, Greg Stein wrote:
> On Mon, Aug 18, 2008 at 7:35 AM, Hyrum K. Wright
> As I've been poring over svn_wc.h, I've been thinking that we need
> svn_deprecated.h and move all of the function signatures and types
> into that file. Let them all sit there, undocumented ("want doc? look
> in prior releases. kthxbai."). That header would then be included by
> all other headers (old code including (say) svn_wc.h still needs the
> deprecated API to be visible). Doing this would clean up our header
> files a LOT. Thoughts?
I like that idea, but I would add an #ifndef around it to be able to not
include deprecated functions. Something like this:
#ifndef SVN_NO_DEPERCATED_FUNCTINS
#include <svn_deprecated.h>
#endif
That way when porting to a new release of subversion it will be much
easier to find the replaced functions by setting that define.
Just my 2 cents.
Martin
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe_at_subversion.tigris.org
For additional commands, e-mail: dev-help_at_subversion.tigris.org
Received on 2008-08-18 21:51:24 CEST