diff options
author | Matthias Clasen <mclasen@redhat.com> | 2020-09-08 10:39:15 -0400 |
---|---|---|
committer | Matthias Clasen <mclasen@redhat.com> | 2020-09-18 14:53:50 -0400 |
commit | 9c6293b9debf217cb49e7f724927b72e9f51a9db (patch) | |
tree | d131222cff01f1a8892fc1f8905602dac70b59ac /pango/pango-version-macros.h | |
parent | 296711130ef90d9555bd6ada5b258bb75d622c12 (diff) | |
download | pango-9c6293b9debf217cb49e7f724927b72e9f51a9db.tar.gz |
Add 1.48 version macros
Diffstat (limited to 'pango/pango-version-macros.h')
-rw-r--r-- | pango/pango-version-macros.h | 24 |
1 files changed, 24 insertions, 0 deletions
diff --git a/pango/pango-version-macros.h b/pango/pango-version-macros.h index 52b37049..4008579c 100644 --- a/pango/pango-version-macros.h +++ b/pango/pango-version-macros.h @@ -262,6 +262,16 @@ */ #define PANGO_VERSION_1_46 (G_ENCODE_VERSION (1, 46)) +/** + * PANGO_VERSION_1_48: + * + * A macro that evaluates to the 1.48 version of Pango, in a format + * that can be used by the C pre-processor. + * + * Since: 1.48 + */ +#define PANGO_VERSION_1_48 (G_ENCODE_VERSION (1, 48)) + /* evaluates to the current stable version; for development cycles, * this means the next stable target */ @@ -681,4 +691,18 @@ # define PANGO_AVAILABLE_IN_1_46 _PANGO_EXTERN #endif +#if PANGO_VERSION_MIN_REQUIRED >= PANGO_VERSION_1_48 +# define PANGO_DEPRECATED_IN_1_48 PANGO_DEPRECATED +# define PANGO_DEPRECATED_IN_1_48_FOR(f) PANGO_DEPRECATED_FOR(f) +#else +# define PANGO_DEPRECATED_IN_1_48 _PANGO_EXTERN +# define PANGO_DEPRECATED_IN_1_48_FOR(f) _PANGO_EXTERN +#endif + +#if PANGO_VERSION_MAX_ALLOWED < PANGO_VERSION_1_48 +# define PANGO_AVAILABLE_IN_1_48 PANGO_UNAVAILABLE(1, 48) +#else +# define PANGO_AVAILABLE_IN_1_48 _PANGO_EXTERN +#endif + #endif /* __PANGO_VERSION_H__ */ |