summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDan Winship <danw@gnome.org>2015-11-22 11:17:38 -0500
committerDan Winship <danw@gnome.org>2015-11-22 11:17:52 -0500
commitfba08262caa6038971e60e669aeb6ef2ec9ab821 (patch)
tree6de51664a2c388375d04ac78ee4f70bfe7f783a0
parentbdb323ce3e0b9e5d6e3fbc41fd552ce0fcaf99aa (diff)
downloadlibsoup-fba08262caa6038971e60e669aeb6ef2ec9ab821.tar.gz
soup-version.h.in: add 2.54 macros
-rw-r--r--libsoup/soup-version.h.in15
1 files changed, 15 insertions, 0 deletions
diff --git a/libsoup/soup-version.h.in b/libsoup/soup-version.h.in
index b7ea89e4..e085d048 100644
--- a/libsoup/soup-version.h.in
+++ b/libsoup/soup-version.h.in
@@ -62,6 +62,7 @@ G_BEGIN_DECLS
#define SOUP_VERSION_2_48 (G_ENCODE_VERSION (2, 48))
#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))
/* evaluates to the current stable version; for development cycles,
* this means the next stable target
@@ -314,6 +315,20 @@ G_BEGIN_DECLS
# define SOUP_AVAILABLE_IN_2_52 _SOUP_EXTERN
#endif
+#if SOUP_VERSION_MIN_REQUIRED >= SOUP_VERSION_2_54
+# define SOUP_DEPRECATED_IN_2_54 G_DEPRECATED
+# define SOUP_DEPRECATED_IN_2_54_FOR(f) G_DEPRECATED_FOR(f)
+#else
+# define SOUP_DEPRECATED_IN_2_54
+# define SOUP_DEPRECATED_IN_2_54_FOR(f)
+#endif
+
+#if SOUP_VERSION_MAX_ALLOWED < SOUP_VERSION_2_54
+# define SOUP_AVAILABLE_IN_2_54 G_UNAVAILABLE(2, 54) _SOUP_EXTERN
+#else
+# define SOUP_AVAILABLE_IN_2_54 _SOUP_EXTERN
+#endif
+
SOUP_AVAILABLE_IN_2_42
guint soup_get_major_version (void);