[libsoup] Added version 2.44 defines



commit d61e68e5187224f5b6e0ad4a0060b22d07ba0b64
Author: Sergio Villar Senin <svillar igalia com>
Date:   Wed Apr 17 09:44:29 2013 +0200

    Added version 2.44 defines

 docs/reference/libsoup-2.4-sections.txt |  4 ++++
 libsoup/soup-version.h.in               | 15 +++++++++++++++
 2 files changed, 19 insertions(+)
---
diff --git a/docs/reference/libsoup-2.4-sections.txt b/docs/reference/libsoup-2.4-sections.txt
index 1b06804..9a85642 100644
--- a/docs/reference/libsoup-2.4-sections.txt
+++ b/docs/reference/libsoup-2.4-sections.txt
@@ -1227,6 +1227,7 @@ SOUP_VERSION_2_36
 SOUP_VERSION_2_38
 SOUP_VERSION_2_40
 SOUP_VERSION_2_42
+SOUP_VERSION_2_44
 <SUBSECTION Private>
 SOUP_AVAILABLE_IN_2_24
 SOUP_AVAILABLE_IN_2_26
@@ -1238,6 +1239,7 @@ SOUP_AVAILABLE_IN_2_36
 SOUP_AVAILABLE_IN_2_38
 SOUP_AVAILABLE_IN_2_40
 SOUP_AVAILABLE_IN_2_42
+SOUP_AVAILABLE_IN_2_44
 SOUP_DEPRECATED_IN_2_24
 SOUP_DEPRECATED_IN_2_24_FOR
 SOUP_DEPRECATED_IN_2_26
@@ -1258,6 +1260,8 @@ SOUP_DEPRECATED_IN_2_40
 SOUP_DEPRECATED_IN_2_40_FOR
 SOUP_DEPRECATED_IN_2_42
 SOUP_DEPRECATED_IN_2_42_FOR
+SOUP_DEPRECATED_IN_2_44
+SOUP_DEPRECATED_IN_2_44_FOR
 SOUP_ENCODE_VERSION
 SOUP_VERSION_CUR_STABLE
 SOUP_VERSION_PREV_STABLE
diff --git a/libsoup/soup-version.h.in b/libsoup/soup-version.h.in
index 4466a48..c3ad8c6 100644
--- a/libsoup/soup-version.h.in
+++ b/libsoup/soup-version.h.in
@@ -46,6 +46,7 @@ gboolean soup_check_version     (guint major,
 #define SOUP_VERSION_2_38 (SOUP_ENCODE_VERSION (2, 38))
 #define SOUP_VERSION_2_40 (SOUP_ENCODE_VERSION (2, 40))
 #define SOUP_VERSION_2_42 (SOUP_ENCODE_VERSION (2, 42))
+#define SOUP_VERSION_2_44 (SOUP_ENCODE_VERSION (2, 44))
 
 /* evaluates to the current stable version; for development cycles,
  * this means the next stable target
@@ -226,6 +227,20 @@ gboolean soup_check_version     (guint major,
 # define SOUP_AVAILABLE_IN_2_42
 #endif
 
+#if SOUP_VERSION_MIN_REQUIRED >= SOUP_VERSION_2_44
+# define SOUP_DEPRECATED_IN_2_44                GLIB_DEPRECATED
+# define SOUP_DEPRECATED_IN_2_44_FOR(f)         GLIB_DEPRECATED_FOR(f)
+#else
+# define SOUP_DEPRECATED_IN_2_44
+# define SOUP_DEPRECATED_IN_2_44_FOR(f)
+#endif
+
+#if SOUP_VERSION_MAX_ALLOWED < SOUP_VERSION_2_44
+# define SOUP_AVAILABLE_IN_2_44                 GLIB_UNAVAILABLE(2, 44)
+#else
+# define SOUP_AVAILABLE_IN_2_44
+#endif
+
 G_END_DECLS
 
 #endif /* SOUP_VERSION_H */


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