[libsoup/server-api: 1/6] soup-version: add 2.48



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

    soup-version: add 2.48

 configure.ac              |    4 ++--
 libsoup/soup-version.h.in |   15 +++++++++++++++
 2 files changed, 17 insertions(+), 2 deletions(-)
---
diff --git a/configure.ac b/configure.ac
index 5bdd079..d71952a 100644
--- a/configure.ac
+++ b/configure.ac
@@ -3,8 +3,8 @@ dnl *** Initialize automake and set version ***
 dnl *******************************************
 
 m4_define([soup_major_version], [2])
-m4_define([soup_minor_version], [45])
-m4_define([soup_micro_version], [90])
+m4_define([soup_minor_version], [47])
+m4_define([soup_micro_version], [0])
 
 AC_PREREQ(2.63)
 
AC_INIT([libsoup],[soup_major_version.soup_minor_version.soup_micro_version],[http://bugzilla.gnome.org/enter_bug.cgi?product=libsoup])
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]