[libsoup] soup-version: add 2.46



commit 7effd70bbe2e2a1a1e72279539f27250af9e37ea
Author: Dan Winship <danw gnome org>
Date:   Sat Nov 30 20:00:50 2013 -0500

    soup-version: add 2.46

 libsoup/soup-version.h.in |   15 +++++++++++++++
 1 files changed, 15 insertions(+), 0 deletions(-)
---
diff --git a/libsoup/soup-version.h.in b/libsoup/soup-version.h.in
index c3ad8c6..000b945 100644
--- a/libsoup/soup-version.h.in
+++ b/libsoup/soup-version.h.in
@@ -47,6 +47,7 @@ gboolean soup_check_version     (guint major,
 #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))
+#define SOUP_VERSION_2_46 (SOUP_ENCODE_VERSION (2, 46))
 
 /* evaluates to the current stable version; for development cycles,
  * this means the next stable target
@@ -241,6 +242,20 @@ gboolean soup_check_version     (guint major,
 # define SOUP_AVAILABLE_IN_2_44
 #endif
 
+#if SOUP_VERSION_MIN_REQUIRED >= SOUP_VERSION_2_46
+# define SOUP_DEPRECATED_IN_2_46                GLIB_DEPRECATED
+# define SOUP_DEPRECATED_IN_2_46_FOR(f)         GLIB_DEPRECATED_FOR(f)
+#else
+# define SOUP_DEPRECATED_IN_2_46
+# define SOUP_DEPRECATED_IN_2_46_FOR(f)
+#endif
+
+#if SOUP_VERSION_MAX_ALLOWED < SOUP_VERSION_2_46
+# define SOUP_AVAILABLE_IN_2_46                 GLIB_UNAVAILABLE(2, 46)
+#else
+# define SOUP_AVAILABLE_IN_2_46
+#endif
+
 G_END_DECLS
 
 #endif /* SOUP_VERSION_H */


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