From 7effd70bbe2e2a1a1e72279539f27250af9e37ea Mon Sep 17 00:00:00 2001 From: Dan Winship Date: Sat, 30 Nov 2013 20:00:50 -0500 Subject: soup-version: add 2.46 --- libsoup/soup-version.h.in | 15 +++++++++++++++ 1 file changed, 15 insertions(+) diff --git a/libsoup/soup-version.h.in b/libsoup/soup-version.h.in index c3ad8c67..000b9456 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 */ -- cgit v1.2.1