summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSergio Villar Senin <svillar@igalia.com>2013-04-17 09:44:29 +0200
committerSergio Villar Senin <svillar@igalia.com>2013-04-17 09:44:29 +0200
commitd61e68e5187224f5b6e0ad4a0060b22d07ba0b64 (patch)
tree9d2aa50b482649e2ab636d82bfbeadc1766b138e
parent59e85ac49acc693c61cb120d670e76fb19d0c917 (diff)
downloadlibsoup-d61e68e5187224f5b6e0ad4a0060b22d07ba0b64.tar.gz
libsoup-d61e68e5187224f5b6e0ad4a0060b22d07ba0b64.tar.bz2
libsoup-d61e68e5187224f5b6e0ad4a0060b22d07ba0b64.zip
Added version 2.44 defines
-rw-r--r--docs/reference/libsoup-2.4-sections.txt4
-rw-r--r--libsoup/soup-version.h.in15
2 files changed, 19 insertions, 0 deletions
diff --git a/docs/reference/libsoup-2.4-sections.txt b/docs/reference/libsoup-2.4-sections.txt
index 1b06804a..9a856429 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 4466a481..c3ad8c67 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 */