[libsoup] Bump version to 2.55.0, add 2.56 version macros
- From: Dan Winship <danw src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [libsoup] Bump version to 2.55.0, add 2.56 version macros
- Date: Thu, 16 Jun 2016 12:13:30 +0000 (UTC)
commit 28c44e70bde66cd1a8650d33c5cffb9c3e218cfa
Author: Dan Winship <danw gnome org>
Date: Mon May 9 09:58:24 2016 -0400
Bump version to 2.55.0, add 2.56 version macros
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 afd089c..9544443 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], [54])
-m4_define([soup_micro_version], [1])
+m4_define([soup_minor_version], [55])
+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 e085d04..ac0d7ad 100644
--- a/libsoup/soup-version.h.in
+++ b/libsoup/soup-version.h.in
@@ -63,6 +63,7 @@ G_BEGIN_DECLS
#define SOUP_VERSION_2_50 (G_ENCODE_VERSION (2, 50))
#define SOUP_VERSION_2_52 (G_ENCODE_VERSION (2, 52))
#define SOUP_VERSION_2_54 (G_ENCODE_VERSION (2, 54))
+#define SOUP_VERSION_2_56 (G_ENCODE_VERSION (2, 56))
/* evaluates to the current stable version; for development cycles,
* this means the next stable target
@@ -329,6 +330,20 @@ G_BEGIN_DECLS
# define SOUP_AVAILABLE_IN_2_54 _SOUP_EXTERN
#endif
+#if SOUP_VERSION_MIN_REQUIRED >= SOUP_VERSION_2_56
+# define SOUP_DEPRECATED_IN_2_56 G_DEPRECATED
+# define SOUP_DEPRECATED_IN_2_56_FOR(f) G_DEPRECATED_FOR(f)
+#else
+# define SOUP_DEPRECATED_IN_2_56
+# define SOUP_DEPRECATED_IN_2_56_FOR(f)
+#endif
+
+#if SOUP_VERSION_MAX_ALLOWED < SOUP_VERSION_2_56
+# define SOUP_AVAILABLE_IN_2_56 G_UNAVAILABLE(2, 56) _SOUP_EXTERN
+#else
+# define SOUP_AVAILABLE_IN_2_56 _SOUP_EXTERN
+#endif
+
SOUP_AVAILABLE_IN_2_42
guint soup_get_major_version (void);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]