summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJosh Coalson <jcoalson@users.sourceforce.net>2006-09-26 01:02:55 +0000
committerJosh Coalson <jcoalson@users.sourceforce.net>2006-09-26 01:02:55 +0000
commit833f832ab1eba3b5784009c5d3f49e5c2adaed4f (patch)
treed303f86d7331b8d66c3314f060531d5d584ff6cf
parentd63c2311833f9edee58ab1a907aef86cfa39775a (diff)
downloadflac-833f832ab1eba3b5784009c5d3f49e5c2adaed4f.tar.gz
change from one ..._API_NUMBER to 3 libtool numbers ..._API_VERSION_{CURRENT,REVISION,AGE}
-rw-r--r--include/FLAC++/export.h8
-rw-r--r--include/FLAC/export.h8
-rw-r--r--include/OggFLAC++/export.h8
-rw-r--r--include/OggFLAC/export.h8
4 files changed, 24 insertions, 8 deletions
diff --git a/include/FLAC++/export.h b/include/FLAC++/export.h
index 74a5299c..a163cf7f 100644
--- a/include/FLAC++/export.h
+++ b/include/FLAC++/export.h
@@ -42,8 +42,12 @@
#else
#define FLACPP_API _declspec(dllimport)
-/* every time the libFLAC++ API changes in any way, this number will be incremented */
-#define FLACPP_API_NUMBER 10
+/* These #defines will mirror the libtool-based library version number, see
+ * http://www.gnu.org/software/libtool/manual.html#Libtool-versioning
+ */
+#define FLACPP_API_VERSION_CURRENT 5
+#define FLACPP_API_VERSION_REVISION 0
+#define FLACPP_API_VERSION_AGE 0
#endif
#endif
diff --git a/include/FLAC/export.h b/include/FLAC/export.h
index 97802bb8..5607305a 100644
--- a/include/FLAC/export.h
+++ b/include/FLAC/export.h
@@ -42,8 +42,12 @@
#else
#define FLAC_API _declspec(dllimport)
-/* every time the libFLAC API changes in any way, this number will be incremented */
-#define FLAC_API_NUMBER 10
+/* These #defines will mirror the libtool-based library version number, see
+ * http://www.gnu.org/software/libtool/manual.html#Libtool-versioning
+ */
+#define FLAC_API_VERSION_CURRENT 7
+#define FLAC_API_VERSION_REVISION 0
+#define FLAC_API_VERSION_AGE 0
#endif
#endif
diff --git a/include/OggFLAC++/export.h b/include/OggFLAC++/export.h
index 88ab9064..2ca2984b 100644
--- a/include/OggFLAC++/export.h
+++ b/include/OggFLAC++/export.h
@@ -42,8 +42,12 @@
#else
#define OggFLACPP_API _declspec(dllimport)
-/* every time the libOggFLAC++ API changes in any way, this number will be incremented */
-#define OggFLACPP_API_NUMBER 10
+/* These #defines will mirror the libtool-based library version number, see
+ * http://www.gnu.org/software/libtool/manual.html#Libtool-versioning
+ */
+#define OggFLACPP_API_VERSION_CURRENT 2
+#define OggFLACPP_API_VERSION_REVISION 0
+#define OggFLACPP_API_VERSION_AGE 0
#endif
#endif
diff --git a/include/OggFLAC/export.h b/include/OggFLAC/export.h
index 14ef936c..a1ce9930 100644
--- a/include/OggFLAC/export.h
+++ b/include/OggFLAC/export.h
@@ -42,8 +42,12 @@
#else
#define OggFLAC_API _declspec(dllimport)
-/* every time the libOggFLAC API changes in any way, this number will be incremented */
-#define OggFLAC_API_NUMBER 10
+/* These #defines will mirror the libtool-based library version number, see
+ * http://www.gnu.org/software/libtool/manual.html#Libtool-versioning
+ */
+#define OggFLAC_API_VERSION_CURRENT 3
+#define OggFLAC_API_VERSION_REVISION 0
+#define OggFLAC_API_VERSION_AGE 0
#endif
#endif