1 <!-- ##### SECTION Title ##### -->
4 <!-- ##### SECTION Short_Description ##### -->
5 Tools for checking Pango version at compile- and run-time.
7 <!-- ##### SECTION Long_Description ##### -->
9 The capital-letter macros defined here can be used to check the version of
10 Pango at compile-time, and to <firstterm>encode</firstterm> Pango versions into
13 The functions can be used to check the version of the linked Pango library
17 <!-- ##### SECTION See_Also ##### -->
22 <!-- ##### SECTION Stability_Level ##### -->
25 <!-- ##### MACRO PANGO_VERSION_ENCODE ##### -->
27 This macro encodes the given Pango version into an integer. The numbers
28 returned by %PANGO_VERSION and pango_version() are encoded using this macro.
29 Two encoded version numbers can be compared as integers.
32 @major: the major component of the version number
33 @minor: the minor component of the version number
34 @micro: the micro component of the version number
37 <!-- ##### MACRO PANGO_VERSION ##### -->
39 The version of Pango available at compile-time, encoded using
40 PANGO_VERSION_ENCODE().
45 <!-- ##### MACRO PANGO_VERSION_MAJOR ##### -->
47 The major component of the version of Pango available at compile-time.
52 <!-- ##### MACRO PANGO_VERSION_MINOR ##### -->
54 The minor component of the version of Pango available at compile-time.
59 <!-- ##### MACRO PANGO_VERSION_MICRO ##### -->
61 The micro component of the version of Pango available at compile-time.
66 <!-- ##### MACRO PANGO_VERSION_STRING ##### -->
68 A string literal containing the version of Pango available at compile-time.
73 <!-- ##### MACRO PANGO_VERSION_CHECK ##### -->
75 Checks that the version of Pango available at compile-time is not older than
76 the provided version number.
79 @major: the major component of the version number
80 @minor: the minor component of the version number
81 @micro: the micro component of the version number
84 <!-- ##### FUNCTION pango_version ##### -->
92 <!-- ##### FUNCTION pango_version_string ##### -->
100 <!-- ##### FUNCTION pango_version_check ##### -->