diff options
author | Dan Winship <danw@gnome.org> | 2015-11-22 11:17:38 -0500 |
---|---|---|
committer | Dan Winship <danw@gnome.org> | 2015-11-22 11:17:52 -0500 |
commit | fba08262caa6038971e60e669aeb6ef2ec9ab821 (patch) | |
tree | 6de51664a2c388375d04ac78ee4f70bfe7f783a0 | |
parent | bdb323ce3e0b9e5d6e3fbc41fd552ce0fcaf99aa (diff) | |
download | libsoup-fba08262caa6038971e60e669aeb6ef2ec9ab821.tar.gz |
soup-version.h.in: add 2.54 macros
-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 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); |