[libsoup/sockprops: 1/5] Bump version to 2.47, add 2.48 version macros



commit a31a04c0ed2b420e6772f1ec835bc5ff8b4a85f9
Author: Dan Winship <danw gnome org>
Date:   Fri Mar 7 14:10:27 2014 -0500

    Bump version to 2.47, add 2.48 version macros

 configure.ac              |    2 +-
 libsoup/soup-version.h.in |   15 +++++++++++++++
 2 files changed, 16 insertions(+), 1 deletions(-)
---
diff --git a/configure.ac b/configure.ac
index 96bb378..d71952a 100644
--- a/configure.ac
+++ b/configure.ac
@@ -3,7 +3,7 @@ dnl *** Initialize automake and set version ***
 dnl *******************************************
 
 m4_define([soup_major_version], [2])
-m4_define([soup_minor_version], [46])
+m4_define([soup_minor_version], [47])
 m4_define([soup_micro_version], [0])
 
 AC_PREREQ(2.63)
diff --git a/libsoup/soup-version.h.in b/libsoup/soup-version.h.in
index 000b945..1c11017 100644
--- a/libsoup/soup-version.h.in
+++ b/libsoup/soup-version.h.in
@@ -48,6 +48,7 @@ gboolean soup_check_version     (guint major,
 #define SOUP_VERSION_2_42 (SOUP_ENCODE_VERSION (2, 42))
 #define SOUP_VERSION_2_44 (SOUP_ENCODE_VERSION (2, 44))
 #define SOUP_VERSION_2_46 (SOUP_ENCODE_VERSION (2, 46))
+#define SOUP_VERSION_2_48 (SOUP_ENCODE_VERSION (2, 48))
 
 /* evaluates to the current stable version; for development cycles,
  * this means the next stable target
@@ -256,6 +257,20 @@ gboolean soup_check_version     (guint major,
 # define SOUP_AVAILABLE_IN_2_46
 #endif
 
+#if SOUP_VERSION_MIN_REQUIRED >= SOUP_VERSION_2_48
+# define SOUP_DEPRECATED_IN_2_48                GLIB_DEPRECATED
+# define SOUP_DEPRECATED_IN_2_48_FOR(f)         GLIB_DEPRECATED_FOR(f)
+#else
+# define SOUP_DEPRECATED_IN_2_48
+# define SOUP_DEPRECATED_IN_2_48_FOR(f)
+#endif
+
+#if SOUP_VERSION_MAX_ALLOWED < SOUP_VERSION_2_48
+# define SOUP_AVAILABLE_IN_2_48                 GLIB_UNAVAILABLE(2, 48)
+#else
+# define SOUP_AVAILABLE_IN_2_48
+#endif
+
 G_END_DECLS
 
 #endif /* SOUP_VERSION_H */


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]