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

Minor svn_version.h cleanups

From: Branko Čibej <brane_at_xbc.nu>
Date: 2004-05-13 04:34:49 CEST

Would anyone object to something along the lines of the following patch?
I think it gets us a bit closer to say-what-I-mean. Of course I'd
replace uses of the deprecated bits in our code.

-- Brane

Index: svn_version.h
===================================================================
--- svn_version.h (revision 9697)
+++ svn_version.h (working copy)
@@ -39,7 +39,7 @@
 
 /* Symbols that define the version number. */
 
-/* Version numbers: <major>.<minor>.<micro>
+/* Version numbers: <major>.<minor>.<patch>
  *
  * The version numbers in this file follow the rules established by:
  *
@@ -62,15 +62,23 @@
 /** Patch number.
  *
  * Modify for every released patch.
+ * @since New in 1.1. Replaces #SVN_VER_MICRO.
  */
-#define SVN_VER_MICRO 0
+#define SVN_VER_PATCH 0
 
+/** Patch number.
+ *
+ * @deprecated Provided for backward compatibility with the 1.0 API.
+ */
+#define SVN_VER_MICRO SVN_VER_PATCH
+
 /** Library version number.
  *
- * Modify whenever there's an incompatible change in the library ABI.
- * ### this is semantically equivalent to SVN_VER_MAJOR. fix...
+ * @deprecated
+ * Provided for backward compatibility with the 1.0 API.
+ * Use #SVN_VER_MAJOR instead.
  */
-#define SVN_VER_LIBRARY 1
+#define SVN_VER_LIBRARY SVN_VER_MAJOR
 
 

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Thu May 13 04:36:16 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.