blob: 230946d28dcf79ff5bcbb7896d95a941911ebae0 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
|
<!-- ##### SECTION Title ##### -->
Version Checking
<!-- ##### SECTION Short_Description ##### -->
Tools for checking Pango version at compile- and run-time.
<!-- ##### SECTION Long_Description ##### -->
<para>
The capital-letter macros defined here can be used to check the version of
Pango at compile-time, and to <firstterm>encode</firstterm> Pango versions into
integers.
The functions can be used to check the version of the linked Pango library
at run-time.
</para>
<!-- ##### SECTION See_Also ##### -->
<para>
</para>
<!-- ##### SECTION Stability_Level ##### -->
<!-- ##### MACRO PANGO_VERSION_ENCODE ##### -->
<para>
This macro encodes the given Pango version into an integer. The numbers
returned by %PANGO_VERSION and pango_version() are encoded using this macro.
Two encoded version numbers can be compared as integers.
</para>
@major: the major component of the version number
@minor: the minor component of the version number
@micro: the micro component of the version number
<!-- ##### MACRO PANGO_VERSION ##### -->
<para>
The version of Pango available at compile-time, encoded using
PANGO_VERSION_ENCODE().
</para>
<!-- ##### MACRO PANGO_VERSION_MAJOR ##### -->
<para>
The major component of the version of Pango available at compile-time.
</para>
<!-- ##### MACRO PANGO_VERSION_MINOR ##### -->
<para>
The minor component of the version of Pango available at compile-time.
</para>
<!-- ##### MACRO PANGO_VERSION_MICRO ##### -->
<para>
The micro component of the version of Pango available at compile-time.
</para>
<!-- ##### MACRO PANGO_VERSION_STRING ##### -->
<para>
A string literal containing the version of Pango available at compile-time.
</para>
<!-- ##### MACRO PANGO_VERSION_CHECK ##### -->
<para>
Checks that the version of Pango available at compile-time is not older than
the provided version number.
</para>
@major: the major component of the version number
@minor: the minor component of the version number
@micro: the micro component of the version number
<!-- ##### FUNCTION pango_version ##### -->
<para>
</para>
@Returns:
<!-- ##### FUNCTION pango_version_string ##### -->
<para>
</para>
@Returns:
<!-- ##### FUNCTION pango_version_check ##### -->
<para>
</para>
@required_major:
@required_minor:
@required_micro:
@Returns:
|