diff options
author | Dan Winship <danw@gnome.org> | 2013-11-30 20:00:50 -0500 |
---|---|---|
committer | Dan Winship <danw@gnome.org> | 2013-12-08 10:54:29 +0100 |
commit | 7effd70bbe2e2a1a1e72279539f27250af9e37ea (patch) | |
tree | 14c5a47e5ce810716e5b35fc037a618203451e49 /libsoup | |
parent | d867737856aba6d5ad49ddbad0316e987bdae90d (diff) | |
download | libsoup-7effd70bbe2e2a1a1e72279539f27250af9e37ea.tar.gz |
soup-version: add 2.46
Diffstat (limited to 'libsoup')
-rw-r--r-- | 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 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 */ |