libpurple/purpleversion.h

Tue, 12 Dec 2023 03:51:53 -0600

author
Elliott Sales de Andrade <quantum.analyst@gmail.com>
date
Tue, 12 Dec 2023 03:51:53 -0600
changeset 42548
04a97e6730d2
parent 42437
e3886c8b95fe
child 42594
eddde70cedd8
permissions
-rw-r--r--

Fix typos on Since tags

These tags are not sentences.

Testing Done:
Built docs.

Reviewed at https://reviews.imfreedom.org/r/2878/

35429
a69e118387f8 Add section block for *.h.in
Ankit Vani <a@nevitus.org>
parents: 35397
diff changeset
1 /*
40584
6f198a69ac48 A bunch of documentation cleanups
Gary Kramlich <grim@reaperworld.com>
parents: 40474
diff changeset
2 * Purple - Internet Messaging Library
6f198a69ac48 A bunch of documentation cleanups
Gary Kramlich <grim@reaperworld.com>
parents: 40474
diff changeset
3 * Copyright (C) Pidgin Developers <devel@pidgin.im>
9943
b54a762f60fa [gaim-migrate @ 10835]
Nathan Walp <nwalp@pidgin.im>
parents:
diff changeset
4 *
15884
4de1981757fc sed -ie 's/gaim/purple/g'
Sean Egan <seanegan@pidgin.im>
parents: 15435
diff changeset
5 * Purple is the legal property of its developers, whose names are too numerous
9943
b54a762f60fa [gaim-migrate @ 10835]
Nathan Walp <nwalp@pidgin.im>
parents:
diff changeset
6 * to list here. Please refer to the COPYRIGHT file distributed with this
b54a762f60fa [gaim-migrate @ 10835]
Nathan Walp <nwalp@pidgin.im>
parents:
diff changeset
7 * source distribution.
b54a762f60fa [gaim-migrate @ 10835]
Nathan Walp <nwalp@pidgin.im>
parents:
diff changeset
8 *
b54a762f60fa [gaim-migrate @ 10835]
Nathan Walp <nwalp@pidgin.im>
parents:
diff changeset
9 * This program is free software; you can redistribute it and/or modify
b54a762f60fa [gaim-migrate @ 10835]
Nathan Walp <nwalp@pidgin.im>
parents:
diff changeset
10 * it under the terms of the GNU General Public License as published by
b54a762f60fa [gaim-migrate @ 10835]
Nathan Walp <nwalp@pidgin.im>
parents:
diff changeset
11 * the Free Software Foundation; either version 2 of the License, or
b54a762f60fa [gaim-migrate @ 10835]
Nathan Walp <nwalp@pidgin.im>
parents:
diff changeset
12 * (at your option) any later version.
b54a762f60fa [gaim-migrate @ 10835]
Nathan Walp <nwalp@pidgin.im>
parents:
diff changeset
13 *
b54a762f60fa [gaim-migrate @ 10835]
Nathan Walp <nwalp@pidgin.im>
parents:
diff changeset
14 * This program is distributed in the hope that it will be useful,
b54a762f60fa [gaim-migrate @ 10835]
Nathan Walp <nwalp@pidgin.im>
parents:
diff changeset
15 * but WITHOUT ANY WARRANTY; without even the implied warranty of
b54a762f60fa [gaim-migrate @ 10835]
Nathan Walp <nwalp@pidgin.im>
parents:
diff changeset
16 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
b54a762f60fa [gaim-migrate @ 10835]
Nathan Walp <nwalp@pidgin.im>
parents:
diff changeset
17 * GNU General Public License for more details.
b54a762f60fa [gaim-migrate @ 10835]
Nathan Walp <nwalp@pidgin.im>
parents:
diff changeset
18 *
b54a762f60fa [gaim-migrate @ 10835]
Nathan Walp <nwalp@pidgin.im>
parents:
diff changeset
19 * You should have received a copy of the GNU General Public License
40584
6f198a69ac48 A bunch of documentation cleanups
Gary Kramlich <grim@reaperworld.com>
parents: 40474
diff changeset
20 * along with this program; if not, see <https://www.gnu.org/licenses/>.
9943
b54a762f60fa [gaim-migrate @ 10835]
Nathan Walp <nwalp@pidgin.im>
parents:
diff changeset
21 */
35487
494f09f7f331 Move section blocks inside inclusion guards -- otherwise g-ir-scanner yells
Ankit Vani <a@nevitus.org>
parents: 35436
diff changeset
22
40474
1341be8e3402 Make it so only libpurple can directly include libpurple header files.
Gary Kramlich <grim@reaperworld.com>
parents: 40206
diff changeset
23 #if !defined(PURPLE_GLOBAL_HEADER_INSIDE) && !defined(PURPLE_COMPILATION)
1341be8e3402 Make it so only libpurple can directly include libpurple header files.
Gary Kramlich <grim@reaperworld.com>
parents: 40206
diff changeset
24 # error "only <purple.h> may be included directly"
1341be8e3402 Make it so only libpurple can directly include libpurple header files.
Gary Kramlich <grim@reaperworld.com>
parents: 40206
diff changeset
25 #endif
1341be8e3402 Make it so only libpurple can directly include libpurple header files.
Gary Kramlich <grim@reaperworld.com>
parents: 40206
diff changeset
26
39659
e4dfb99b0cef Fix libpurple header guards using reserved names.
Elliott Sales de Andrade <qulogic@pidgin.im>
parents: 39383
diff changeset
27 #ifndef PURPLE_VERSION_H
e4dfb99b0cef Fix libpurple header guards using reserved names.
Elliott Sales de Andrade <qulogic@pidgin.im>
parents: 39383
diff changeset
28 #define PURPLE_VERSION_H
40206
566c210f7003 Add PURPLE_VERSION and PURPLE_EXTRA_VERSION to libpurple/version.h and clean up some other related stuff
Gary Kramlich <grim@reaperworld.com>
parents: 39659
diff changeset
29
41682
289867067994 Clean up a bunch of stuff in internal.h
Gary Kramlich <grim@reaperworld.com>
parents: 41199
diff changeset
30 #include <glib.h>
289867067994 Clean up a bunch of stuff in internal.h
Gary Kramlich <grim@reaperworld.com>
parents: 41199
diff changeset
31
42387
d9350cda1556 Export symbols added for 3.0.0
Elliott Sales de Andrade <quantum.analyst@gmail.com>
parents: 42376
diff changeset
32 #include "purpleversionconsts.h"
d9350cda1556 Export symbols added for 3.0.0
Elliott Sales de Andrade <quantum.analyst@gmail.com>
parents: 42376
diff changeset
33
d9350cda1556 Export symbols added for 3.0.0
Elliott Sales de Andrade <quantum.analyst@gmail.com>
parents: 42376
diff changeset
34 #if (defined(_WIN32) || defined(__CYGWIN__)) && \
d9350cda1556 Export symbols added for 3.0.0
Elliott Sales de Andrade <quantum.analyst@gmail.com>
parents: 42376
diff changeset
35 !defined(PURPLE_STATIC_COMPILATION)
d9350cda1556 Export symbols added for 3.0.0
Elliott Sales de Andrade <quantum.analyst@gmail.com>
parents: 42376
diff changeset
36 #define _PURPLE_EXPORT __declspec(dllexport)
d9350cda1556 Export symbols added for 3.0.0
Elliott Sales de Andrade <quantum.analyst@gmail.com>
parents: 42376
diff changeset
37 #define _PURPLE_IMPORT __declspec(dllimport)
d9350cda1556 Export symbols added for 3.0.0
Elliott Sales de Andrade <quantum.analyst@gmail.com>
parents: 42376
diff changeset
38 #elif __GNUC__ >= 4
d9350cda1556 Export symbols added for 3.0.0
Elliott Sales de Andrade <quantum.analyst@gmail.com>
parents: 42376
diff changeset
39 #define _PURPLE_EXPORT __attribute__((visibility("default")))
d9350cda1556 Export symbols added for 3.0.0
Elliott Sales de Andrade <quantum.analyst@gmail.com>
parents: 42376
diff changeset
40 #define _PURPLE_IMPORT
d9350cda1556 Export symbols added for 3.0.0
Elliott Sales de Andrade <quantum.analyst@gmail.com>
parents: 42376
diff changeset
41 #else
d9350cda1556 Export symbols added for 3.0.0
Elliott Sales de Andrade <quantum.analyst@gmail.com>
parents: 42376
diff changeset
42 #define _PURPLE_EXPORT
d9350cda1556 Export symbols added for 3.0.0
Elliott Sales de Andrade <quantum.analyst@gmail.com>
parents: 42376
diff changeset
43 #define _PURPLE_IMPORT
d9350cda1556 Export symbols added for 3.0.0
Elliott Sales de Andrade <quantum.analyst@gmail.com>
parents: 42376
diff changeset
44 #endif
d9350cda1556 Export symbols added for 3.0.0
Elliott Sales de Andrade <quantum.analyst@gmail.com>
parents: 42376
diff changeset
45 #ifdef PURPLE_COMPILATION
d9350cda1556 Export symbols added for 3.0.0
Elliott Sales de Andrade <quantum.analyst@gmail.com>
parents: 42376
diff changeset
46 #define _PURPLE_API _PURPLE_EXPORT
d9350cda1556 Export symbols added for 3.0.0
Elliott Sales de Andrade <quantum.analyst@gmail.com>
parents: 42376
diff changeset
47 #else
d9350cda1556 Export symbols added for 3.0.0
Elliott Sales de Andrade <quantum.analyst@gmail.com>
parents: 42376
diff changeset
48 #define _PURPLE_API _PURPLE_IMPORT
d9350cda1556 Export symbols added for 3.0.0
Elliott Sales de Andrade <quantum.analyst@gmail.com>
parents: 42376
diff changeset
49 #endif
d9350cda1556 Export symbols added for 3.0.0
Elliott Sales de Andrade <quantum.analyst@gmail.com>
parents: 42376
diff changeset
50
d9350cda1556 Export symbols added for 3.0.0
Elliott Sales de Andrade <quantum.analyst@gmail.com>
parents: 42376
diff changeset
51 #define _PURPLE_EXTERN _PURPLE_API extern
d9350cda1556 Export symbols added for 3.0.0
Elliott Sales de Andrade <quantum.analyst@gmail.com>
parents: 42376
diff changeset
52
d9350cda1556 Export symbols added for 3.0.0
Elliott Sales de Andrade <quantum.analyst@gmail.com>
parents: 42376
diff changeset
53 #ifdef PURPLE_DISABLE_DEPRECATION_WARNINGS
d9350cda1556 Export symbols added for 3.0.0
Elliott Sales de Andrade <quantum.analyst@gmail.com>
parents: 42376
diff changeset
54 #define PURPLE_DEPRECATED _PURPLE_EXTERN
d9350cda1556 Export symbols added for 3.0.0
Elliott Sales de Andrade <quantum.analyst@gmail.com>
parents: 42376
diff changeset
55 #define PURPLE_DEPRECATED_FOR(f) _PURPLE_EXTERN
d9350cda1556 Export symbols added for 3.0.0
Elliott Sales de Andrade <quantum.analyst@gmail.com>
parents: 42376
diff changeset
56 #define PURPLE_UNAVAILABLE(maj, min) _PURPLE_EXTERN
d9350cda1556 Export symbols added for 3.0.0
Elliott Sales de Andrade <quantum.analyst@gmail.com>
parents: 42376
diff changeset
57 #define PURPLE_UNAVAILABLE_STATIC_INLINE(maj, min)
d9350cda1556 Export symbols added for 3.0.0
Elliott Sales de Andrade <quantum.analyst@gmail.com>
parents: 42376
diff changeset
58 #define PURPLE_UNAVAILABLE_TYPE(maj, min)
d9350cda1556 Export symbols added for 3.0.0
Elliott Sales de Andrade <quantum.analyst@gmail.com>
parents: 42376
diff changeset
59 #else
d9350cda1556 Export symbols added for 3.0.0
Elliott Sales de Andrade <quantum.analyst@gmail.com>
parents: 42376
diff changeset
60 #define PURPLE_DEPRECATED G_DEPRECATED _PURPLE_EXTERN
d9350cda1556 Export symbols added for 3.0.0
Elliott Sales de Andrade <quantum.analyst@gmail.com>
parents: 42376
diff changeset
61 #define PURPLE_DEPRECATED_FOR(f) G_DEPRECATED_FOR(f) _PURPLE_EXTERN
d9350cda1556 Export symbols added for 3.0.0
Elliott Sales de Andrade <quantum.analyst@gmail.com>
parents: 42376
diff changeset
62 #define PURPLE_UNAVAILABLE(maj, min) G_UNAVAILABLE(maj, min) _PURPLE_EXTERN
d9350cda1556 Export symbols added for 3.0.0
Elliott Sales de Andrade <quantum.analyst@gmail.com>
parents: 42376
diff changeset
63 #define PURPLE_UNAVAILABLE_STATIC_INLINE(maj, min) G_UNAVAILABLE(maj, min)
d9350cda1556 Export symbols added for 3.0.0
Elliott Sales de Andrade <quantum.analyst@gmail.com>
parents: 42376
diff changeset
64 #define PURPLE_UNAVAILABLE_TYPE(maj, min) G_UNAVAILABLE(maj, min)
d9350cda1556 Export symbols added for 3.0.0
Elliott Sales de Andrade <quantum.analyst@gmail.com>
parents: 42376
diff changeset
65 #endif
d9350cda1556 Export symbols added for 3.0.0
Elliott Sales de Andrade <quantum.analyst@gmail.com>
parents: 42376
diff changeset
66
d9350cda1556 Export symbols added for 3.0.0
Elliott Sales de Andrade <quantum.analyst@gmail.com>
parents: 42376
diff changeset
67 /**
d9350cda1556 Export symbols added for 3.0.0
Elliott Sales de Andrade <quantum.analyst@gmail.com>
parents: 42376
diff changeset
68 * PURPLE_VERSION_CUR_STABLE:
d9350cda1556 Export symbols added for 3.0.0
Elliott Sales de Andrade <quantum.analyst@gmail.com>
parents: 42376
diff changeset
69 *
d9350cda1556 Export symbols added for 3.0.0
Elliott Sales de Andrade <quantum.analyst@gmail.com>
parents: 42376
diff changeset
70 * A macro that evaluates to the current stable version of libpurple, in a format
d9350cda1556 Export symbols added for 3.0.0
Elliott Sales de Andrade <quantum.analyst@gmail.com>
parents: 42376
diff changeset
71 * that can be used by the C pre-processor.
d9350cda1556 Export symbols added for 3.0.0
Elliott Sales de Andrade <quantum.analyst@gmail.com>
parents: 42376
diff changeset
72 *
d9350cda1556 Export symbols added for 3.0.0
Elliott Sales de Andrade <quantum.analyst@gmail.com>
parents: 42376
diff changeset
73 * Since: 3.0.0
d9350cda1556 Export symbols added for 3.0.0
Elliott Sales de Andrade <quantum.analyst@gmail.com>
parents: 42376
diff changeset
74 */
d9350cda1556 Export symbols added for 3.0.0
Elliott Sales de Andrade <quantum.analyst@gmail.com>
parents: 42376
diff changeset
75 #define PURPLE_VERSION_CUR_STABLE \
d9350cda1556 Export symbols added for 3.0.0
Elliott Sales de Andrade <quantum.analyst@gmail.com>
parents: 42376
diff changeset
76 (G_ENCODE_VERSION(PURPLE_MAJOR_VERSION, PURPLE_MINOR_VERSION))
d9350cda1556 Export symbols added for 3.0.0
Elliott Sales de Andrade <quantum.analyst@gmail.com>
parents: 42376
diff changeset
77
d9350cda1556 Export symbols added for 3.0.0
Elliott Sales de Andrade <quantum.analyst@gmail.com>
parents: 42376
diff changeset
78 /* If the package sets PURPLE_VERSION_MIN_REQUIRED to some future
d9350cda1556 Export symbols added for 3.0.0
Elliott Sales de Andrade <quantum.analyst@gmail.com>
parents: 42376
diff changeset
79 * PURPLE_VERSION_X_Y value that we don't know about, it will compare as 0 in
d9350cda1556 Export symbols added for 3.0.0
Elliott Sales de Andrade <quantum.analyst@gmail.com>
parents: 42376
diff changeset
80 * preprocessor tests.
d9350cda1556 Export symbols added for 3.0.0
Elliott Sales de Andrade <quantum.analyst@gmail.com>
parents: 42376
diff changeset
81 */
d9350cda1556 Export symbols added for 3.0.0
Elliott Sales de Andrade <quantum.analyst@gmail.com>
parents: 42376
diff changeset
82 #ifndef PURPLE_VERSION_MIN_REQUIRED
d9350cda1556 Export symbols added for 3.0.0
Elliott Sales de Andrade <quantum.analyst@gmail.com>
parents: 42376
diff changeset
83 #define PURPLE_VERSION_MIN_REQUIRED (PURPLE_VERSION_CUR_STABLE)
d9350cda1556 Export symbols added for 3.0.0
Elliott Sales de Andrade <quantum.analyst@gmail.com>
parents: 42376
diff changeset
84 #elif PURPLE_VERSION_MIN_REQUIRED == 0
d9350cda1556 Export symbols added for 3.0.0
Elliott Sales de Andrade <quantum.analyst@gmail.com>
parents: 42376
diff changeset
85 #undef PURPLE_VERSION_MIN_REQUIRED
d9350cda1556 Export symbols added for 3.0.0
Elliott Sales de Andrade <quantum.analyst@gmail.com>
parents: 42376
diff changeset
86 #define PURPLE_VERSION_MIN_REQUIRED (PURPLE_VERSION_CUR_STABLE + 1)
d9350cda1556 Export symbols added for 3.0.0
Elliott Sales de Andrade <quantum.analyst@gmail.com>
parents: 42376
diff changeset
87 #endif /* PURPLE_VERSION_MIN_REQUIRED */
d9350cda1556 Export symbols added for 3.0.0
Elliott Sales de Andrade <quantum.analyst@gmail.com>
parents: 42376
diff changeset
88
d9350cda1556 Export symbols added for 3.0.0
Elliott Sales de Andrade <quantum.analyst@gmail.com>
parents: 42376
diff changeset
89 #if !defined(PURPLE_VERSION_MAX_ALLOWED) || (PURPLE_VERSION_MAX_ALLOWED == 0)
d9350cda1556 Export symbols added for 3.0.0
Elliott Sales de Andrade <quantum.analyst@gmail.com>
parents: 42376
diff changeset
90 #undef PURPLE_VERSION_MAX_ALLOWED
d9350cda1556 Export symbols added for 3.0.0
Elliott Sales de Andrade <quantum.analyst@gmail.com>
parents: 42376
diff changeset
91 #define PURPLE_VERSION_MAX_ALLOWED (PURPLE_VERSION_CUR_STABLE)
d9350cda1556 Export symbols added for 3.0.0
Elliott Sales de Andrade <quantum.analyst@gmail.com>
parents: 42376
diff changeset
92 #endif /* PURPLE_VERSION_MAX_ALLOWED */
d9350cda1556 Export symbols added for 3.0.0
Elliott Sales de Andrade <quantum.analyst@gmail.com>
parents: 42376
diff changeset
93
d9350cda1556 Export symbols added for 3.0.0
Elliott Sales de Andrade <quantum.analyst@gmail.com>
parents: 42376
diff changeset
94 /* sanity checks */
d9350cda1556 Export symbols added for 3.0.0
Elliott Sales de Andrade <quantum.analyst@gmail.com>
parents: 42376
diff changeset
95 #if PURPLE_VERSION_MIN_REQUIRED > PURPLE_VERSION_CUR_STABLE
d9350cda1556 Export symbols added for 3.0.0
Elliott Sales de Andrade <quantum.analyst@gmail.com>
parents: 42376
diff changeset
96 #error "PURPLE_VERSION_MIN_REQUIRED must be <= PURPLE_VERSION_CUR_STABLE"
d9350cda1556 Export symbols added for 3.0.0
Elliott Sales de Andrade <quantum.analyst@gmail.com>
parents: 42376
diff changeset
97 #endif
d9350cda1556 Export symbols added for 3.0.0
Elliott Sales de Andrade <quantum.analyst@gmail.com>
parents: 42376
diff changeset
98 #if PURPLE_VERSION_MAX_ALLOWED < PURPLE_VERSION_MIN_REQUIRED
d9350cda1556 Export symbols added for 3.0.0
Elliott Sales de Andrade <quantum.analyst@gmail.com>
parents: 42376
diff changeset
99 #error "PURPLE_VERSION_MAX_ALLOWED must be >= PURPLE_VERSION_MIN_REQUIRED"
d9350cda1556 Export symbols added for 3.0.0
Elliott Sales de Andrade <quantum.analyst@gmail.com>
parents: 42376
diff changeset
100 #endif
42437
e3886c8b95fe Set minimum allowed API to 2.0
Elliott Sales de Andrade <quantum.analyst@gmail.com>
parents: 42400
diff changeset
101 #if PURPLE_VERSION_MIN_REQUIRED < G_ENCODE_VERSION(2, 0)
e3886c8b95fe Set minimum allowed API to 2.0
Elliott Sales de Andrade <quantum.analyst@gmail.com>
parents: 42400
diff changeset
102 #error "PURPLE_VERSION_MIN_REQUIRED must be >= PURPLE_VERSION_2_0"
42387
d9350cda1556 Export symbols added for 3.0.0
Elliott Sales de Andrade <quantum.analyst@gmail.com>
parents: 42376
diff changeset
103 #endif
d9350cda1556 Export symbols added for 3.0.0
Elliott Sales de Andrade <quantum.analyst@gmail.com>
parents: 42376
diff changeset
104
d9350cda1556 Export symbols added for 3.0.0
Elliott Sales de Andrade <quantum.analyst@gmail.com>
parents: 42376
diff changeset
105 #define PURPLE_VAR _PURPLE_EXTERN
d9350cda1556 Export symbols added for 3.0.0
Elliott Sales de Andrade <quantum.analyst@gmail.com>
parents: 42376
diff changeset
106 #define PURPLE_AVAILABLE_IN_ALL _PURPLE_EXTERN
d9350cda1556 Export symbols added for 3.0.0
Elliott Sales de Andrade <quantum.analyst@gmail.com>
parents: 42376
diff changeset
107
d9350cda1556 Export symbols added for 3.0.0
Elliott Sales de Andrade <quantum.analyst@gmail.com>
parents: 42376
diff changeset
108 /**
42437
e3886c8b95fe Set minimum allowed API to 2.0
Elliott Sales de Andrade <quantum.analyst@gmail.com>
parents: 42400
diff changeset
109 * PURPLE_VERSION_2_0:
e3886c8b95fe Set minimum allowed API to 2.0
Elliott Sales de Andrade <quantum.analyst@gmail.com>
parents: 42400
diff changeset
110 *
e3886c8b95fe Set minimum allowed API to 2.0
Elliott Sales de Andrade <quantum.analyst@gmail.com>
parents: 42400
diff changeset
111 * A macro that evaluates to the 2.0 version of libpurple, in a format that
e3886c8b95fe Set minimum allowed API to 2.0
Elliott Sales de Andrade <quantum.analyst@gmail.com>
parents: 42400
diff changeset
112 * can be used by the C pre-processor.
e3886c8b95fe Set minimum allowed API to 2.0
Elliott Sales de Andrade <quantum.analyst@gmail.com>
parents: 42400
diff changeset
113 *
e3886c8b95fe Set minimum allowed API to 2.0
Elliott Sales de Andrade <quantum.analyst@gmail.com>
parents: 42400
diff changeset
114 * Since: 3.0.0
e3886c8b95fe Set minimum allowed API to 2.0
Elliott Sales de Andrade <quantum.analyst@gmail.com>
parents: 42400
diff changeset
115 */
e3886c8b95fe Set minimum allowed API to 2.0
Elliott Sales de Andrade <quantum.analyst@gmail.com>
parents: 42400
diff changeset
116 #define PURPLE_VERSION_2_0 (G_ENCODE_VERSION(2, 0))
e3886c8b95fe Set minimum allowed API to 2.0
Elliott Sales de Andrade <quantum.analyst@gmail.com>
parents: 42400
diff changeset
117
e3886c8b95fe Set minimum allowed API to 2.0
Elliott Sales de Andrade <quantum.analyst@gmail.com>
parents: 42400
diff changeset
118 #if PURPLE_VERSION_MAX_ALLOWED < PURPLE_VERSION_2_0
e3886c8b95fe Set minimum allowed API to 2.0
Elliott Sales de Andrade <quantum.analyst@gmail.com>
parents: 42400
diff changeset
119 #define PURPLE_AVAILABLE_IN_2_0 PURPLE_UNAVAILABLE(2, 0)
e3886c8b95fe Set minimum allowed API to 2.0
Elliott Sales de Andrade <quantum.analyst@gmail.com>
parents: 42400
diff changeset
120 #else
e3886c8b95fe Set minimum allowed API to 2.0
Elliott Sales de Andrade <quantum.analyst@gmail.com>
parents: 42400
diff changeset
121 #define PURPLE_AVAILABLE_IN_2_0 _PURPLE_EXTERN
e3886c8b95fe Set minimum allowed API to 2.0
Elliott Sales de Andrade <quantum.analyst@gmail.com>
parents: 42400
diff changeset
122 #endif
e3886c8b95fe Set minimum allowed API to 2.0
Elliott Sales de Andrade <quantum.analyst@gmail.com>
parents: 42400
diff changeset
123
e3886c8b95fe Set minimum allowed API to 2.0
Elliott Sales de Andrade <quantum.analyst@gmail.com>
parents: 42400
diff changeset
124 /**
42399
7598020f5ae2 Export symbols and add Since tags for 2.2/2.1 API
Elliott Sales de Andrade <quantum.analyst@gmail.com>
parents: 42398
diff changeset
125 * PURPLE_VERSION_2_1:
7598020f5ae2 Export symbols and add Since tags for 2.2/2.1 API
Elliott Sales de Andrade <quantum.analyst@gmail.com>
parents: 42398
diff changeset
126 *
7598020f5ae2 Export symbols and add Since tags for 2.2/2.1 API
Elliott Sales de Andrade <quantum.analyst@gmail.com>
parents: 42398
diff changeset
127 * A macro that evaluates to the 2.1 version of libpurple, in a format that
7598020f5ae2 Export symbols and add Since tags for 2.2/2.1 API
Elliott Sales de Andrade <quantum.analyst@gmail.com>
parents: 42398
diff changeset
128 * can be used by the C pre-processor.
7598020f5ae2 Export symbols and add Since tags for 2.2/2.1 API
Elliott Sales de Andrade <quantum.analyst@gmail.com>
parents: 42398
diff changeset
129 *
7598020f5ae2 Export symbols and add Since tags for 2.2/2.1 API
Elliott Sales de Andrade <quantum.analyst@gmail.com>
parents: 42398
diff changeset
130 * Since: 3.0.0
7598020f5ae2 Export symbols and add Since tags for 2.2/2.1 API
Elliott Sales de Andrade <quantum.analyst@gmail.com>
parents: 42398
diff changeset
131 */
7598020f5ae2 Export symbols and add Since tags for 2.2/2.1 API
Elliott Sales de Andrade <quantum.analyst@gmail.com>
parents: 42398
diff changeset
132 #define PURPLE_VERSION_2_1 (G_ENCODE_VERSION(2, 1))
7598020f5ae2 Export symbols and add Since tags for 2.2/2.1 API
Elliott Sales de Andrade <quantum.analyst@gmail.com>
parents: 42398
diff changeset
133
7598020f5ae2 Export symbols and add Since tags for 2.2/2.1 API
Elliott Sales de Andrade <quantum.analyst@gmail.com>
parents: 42398
diff changeset
134 #if PURPLE_VERSION_MAX_ALLOWED < PURPLE_VERSION_2_1
7598020f5ae2 Export symbols and add Since tags for 2.2/2.1 API
Elliott Sales de Andrade <quantum.analyst@gmail.com>
parents: 42398
diff changeset
135 #define PURPLE_AVAILABLE_IN_2_1 PURPLE_UNAVAILABLE(2, 1)
7598020f5ae2 Export symbols and add Since tags for 2.2/2.1 API
Elliott Sales de Andrade <quantum.analyst@gmail.com>
parents: 42398
diff changeset
136 #define PURPLE_AVAILABLE_ENUMERATOR_IN_2_1 PURPLE_UNAVAILABLE_ENUMERATOR(2, 1)
7598020f5ae2 Export symbols and add Since tags for 2.2/2.1 API
Elliott Sales de Andrade <quantum.analyst@gmail.com>
parents: 42398
diff changeset
137 #else
7598020f5ae2 Export symbols and add Since tags for 2.2/2.1 API
Elliott Sales de Andrade <quantum.analyst@gmail.com>
parents: 42398
diff changeset
138 #define PURPLE_AVAILABLE_IN_2_1 _PURPLE_EXTERN
7598020f5ae2 Export symbols and add Since tags for 2.2/2.1 API
Elliott Sales de Andrade <quantum.analyst@gmail.com>
parents: 42398
diff changeset
139 #define PURPLE_AVAILABLE_ENUMERATOR_IN_2_1
7598020f5ae2 Export symbols and add Since tags for 2.2/2.1 API
Elliott Sales de Andrade <quantum.analyst@gmail.com>
parents: 42398
diff changeset
140 #endif
7598020f5ae2 Export symbols and add Since tags for 2.2/2.1 API
Elliott Sales de Andrade <quantum.analyst@gmail.com>
parents: 42398
diff changeset
141
7598020f5ae2 Export symbols and add Since tags for 2.2/2.1 API
Elliott Sales de Andrade <quantum.analyst@gmail.com>
parents: 42398
diff changeset
142 /**
7598020f5ae2 Export symbols and add Since tags for 2.2/2.1 API
Elliott Sales de Andrade <quantum.analyst@gmail.com>
parents: 42398
diff changeset
143 * PURPLE_VERSION_2_2:
7598020f5ae2 Export symbols and add Since tags for 2.2/2.1 API
Elliott Sales de Andrade <quantum.analyst@gmail.com>
parents: 42398
diff changeset
144 *
7598020f5ae2 Export symbols and add Since tags for 2.2/2.1 API
Elliott Sales de Andrade <quantum.analyst@gmail.com>
parents: 42398
diff changeset
145 * A macro that evaluates to the 2.2 version of libpurple, in a format that
7598020f5ae2 Export symbols and add Since tags for 2.2/2.1 API
Elliott Sales de Andrade <quantum.analyst@gmail.com>
parents: 42398
diff changeset
146 * can be used by the C pre-processor.
7598020f5ae2 Export symbols and add Since tags for 2.2/2.1 API
Elliott Sales de Andrade <quantum.analyst@gmail.com>
parents: 42398
diff changeset
147 *
7598020f5ae2 Export symbols and add Since tags for 2.2/2.1 API
Elliott Sales de Andrade <quantum.analyst@gmail.com>
parents: 42398
diff changeset
148 * Since: 3.0.0
7598020f5ae2 Export symbols and add Since tags for 2.2/2.1 API
Elliott Sales de Andrade <quantum.analyst@gmail.com>
parents: 42398
diff changeset
149 */
7598020f5ae2 Export symbols and add Since tags for 2.2/2.1 API
Elliott Sales de Andrade <quantum.analyst@gmail.com>
parents: 42398
diff changeset
150 #define PURPLE_VERSION_2_2 (G_ENCODE_VERSION(2, 2))
7598020f5ae2 Export symbols and add Since tags for 2.2/2.1 API
Elliott Sales de Andrade <quantum.analyst@gmail.com>
parents: 42398
diff changeset
151
7598020f5ae2 Export symbols and add Since tags for 2.2/2.1 API
Elliott Sales de Andrade <quantum.analyst@gmail.com>
parents: 42398
diff changeset
152 #if PURPLE_VERSION_MAX_ALLOWED < PURPLE_VERSION_2_2
7598020f5ae2 Export symbols and add Since tags for 2.2/2.1 API
Elliott Sales de Andrade <quantum.analyst@gmail.com>
parents: 42398
diff changeset
153 #define PURPLE_AVAILABLE_IN_2_2 PURPLE_UNAVAILABLE(2, 2)
7598020f5ae2 Export symbols and add Since tags for 2.2/2.1 API
Elliott Sales de Andrade <quantum.analyst@gmail.com>
parents: 42398
diff changeset
154 #define PURPLE_AVAILABLE_ENUMERATOR_IN_2_2 PURPLE_UNAVAILABLE_ENUMERATOR(2, 2)
7598020f5ae2 Export symbols and add Since tags for 2.2/2.1 API
Elliott Sales de Andrade <quantum.analyst@gmail.com>
parents: 42398
diff changeset
155 #else
7598020f5ae2 Export symbols and add Since tags for 2.2/2.1 API
Elliott Sales de Andrade <quantum.analyst@gmail.com>
parents: 42398
diff changeset
156 #define PURPLE_AVAILABLE_IN_2_2 _PURPLE_EXTERN
7598020f5ae2 Export symbols and add Since tags for 2.2/2.1 API
Elliott Sales de Andrade <quantum.analyst@gmail.com>
parents: 42398
diff changeset
157 #define PURPLE_AVAILABLE_ENUMERATOR_IN_2_2
7598020f5ae2 Export symbols and add Since tags for 2.2/2.1 API
Elliott Sales de Andrade <quantum.analyst@gmail.com>
parents: 42398
diff changeset
158 #endif
7598020f5ae2 Export symbols and add Since tags for 2.2/2.1 API
Elliott Sales de Andrade <quantum.analyst@gmail.com>
parents: 42398
diff changeset
159
7598020f5ae2 Export symbols and add Since tags for 2.2/2.1 API
Elliott Sales de Andrade <quantum.analyst@gmail.com>
parents: 42398
diff changeset
160 /**
42398
00178e755de6 Export symbols and add Since tags for 2.3 API
Elliott Sales de Andrade <quantum.analyst@gmail.com>
parents: 42397
diff changeset
161 * PURPLE_VERSION_2_3:
00178e755de6 Export symbols and add Since tags for 2.3 API
Elliott Sales de Andrade <quantum.analyst@gmail.com>
parents: 42397
diff changeset
162 *
00178e755de6 Export symbols and add Since tags for 2.3 API
Elliott Sales de Andrade <quantum.analyst@gmail.com>
parents: 42397
diff changeset
163 * A macro that evaluates to the 2.3 version of libpurple, in a format that
00178e755de6 Export symbols and add Since tags for 2.3 API
Elliott Sales de Andrade <quantum.analyst@gmail.com>
parents: 42397
diff changeset
164 * can be used by the C pre-processor.
00178e755de6 Export symbols and add Since tags for 2.3 API
Elliott Sales de Andrade <quantum.analyst@gmail.com>
parents: 42397
diff changeset
165 *
00178e755de6 Export symbols and add Since tags for 2.3 API
Elliott Sales de Andrade <quantum.analyst@gmail.com>
parents: 42397
diff changeset
166 * Since: 3.0.0
00178e755de6 Export symbols and add Since tags for 2.3 API
Elliott Sales de Andrade <quantum.analyst@gmail.com>
parents: 42397
diff changeset
167 */
00178e755de6 Export symbols and add Since tags for 2.3 API
Elliott Sales de Andrade <quantum.analyst@gmail.com>
parents: 42397
diff changeset
168 #define PURPLE_VERSION_2_3 (G_ENCODE_VERSION(2, 3))
00178e755de6 Export symbols and add Since tags for 2.3 API
Elliott Sales de Andrade <quantum.analyst@gmail.com>
parents: 42397
diff changeset
169
00178e755de6 Export symbols and add Since tags for 2.3 API
Elliott Sales de Andrade <quantum.analyst@gmail.com>
parents: 42397
diff changeset
170 #if PURPLE_VERSION_MAX_ALLOWED < PURPLE_VERSION_2_3
00178e755de6 Export symbols and add Since tags for 2.3 API
Elliott Sales de Andrade <quantum.analyst@gmail.com>
parents: 42397
diff changeset
171 #define PURPLE_AVAILABLE_IN_2_3 PURPLE_UNAVAILABLE(2, 3)
00178e755de6 Export symbols and add Since tags for 2.3 API
Elliott Sales de Andrade <quantum.analyst@gmail.com>
parents: 42397
diff changeset
172 #define PURPLE_AVAILABLE_TYPE_IN_2_3 PURPLE_UNAVAILABLE_TYPE(2, 3)
00178e755de6 Export symbols and add Since tags for 2.3 API
Elliott Sales de Andrade <quantum.analyst@gmail.com>
parents: 42397
diff changeset
173 #else
00178e755de6 Export symbols and add Since tags for 2.3 API
Elliott Sales de Andrade <quantum.analyst@gmail.com>
parents: 42397
diff changeset
174 #define PURPLE_AVAILABLE_IN_2_3 _PURPLE_EXTERN
00178e755de6 Export symbols and add Since tags for 2.3 API
Elliott Sales de Andrade <quantum.analyst@gmail.com>
parents: 42397
diff changeset
175 #define PURPLE_AVAILABLE_TYPE_IN_2_3
00178e755de6 Export symbols and add Since tags for 2.3 API
Elliott Sales de Andrade <quantum.analyst@gmail.com>
parents: 42397
diff changeset
176 #endif
00178e755de6 Export symbols and add Since tags for 2.3 API
Elliott Sales de Andrade <quantum.analyst@gmail.com>
parents: 42397
diff changeset
177
00178e755de6 Export symbols and add Since tags for 2.3 API
Elliott Sales de Andrade <quantum.analyst@gmail.com>
parents: 42397
diff changeset
178 /**
42397
dc6563055e80 Export symbols and add Since tags for 2.4 API
Elliott Sales de Andrade <quantum.analyst@gmail.com>
parents: 42396
diff changeset
179 * PURPLE_VERSION_2_4:
dc6563055e80 Export symbols and add Since tags for 2.4 API
Elliott Sales de Andrade <quantum.analyst@gmail.com>
parents: 42396
diff changeset
180 *
dc6563055e80 Export symbols and add Since tags for 2.4 API
Elliott Sales de Andrade <quantum.analyst@gmail.com>
parents: 42396
diff changeset
181 * A macro that evaluates to the 2.4 version of libpurple, in a format that
dc6563055e80 Export symbols and add Since tags for 2.4 API
Elliott Sales de Andrade <quantum.analyst@gmail.com>
parents: 42396
diff changeset
182 * can be used by the C pre-processor.
dc6563055e80 Export symbols and add Since tags for 2.4 API
Elliott Sales de Andrade <quantum.analyst@gmail.com>
parents: 42396
diff changeset
183 *
dc6563055e80 Export symbols and add Since tags for 2.4 API
Elliott Sales de Andrade <quantum.analyst@gmail.com>
parents: 42396
diff changeset
184 * Since: 3.0.0
dc6563055e80 Export symbols and add Since tags for 2.4 API
Elliott Sales de Andrade <quantum.analyst@gmail.com>
parents: 42396
diff changeset
185 */
dc6563055e80 Export symbols and add Since tags for 2.4 API
Elliott Sales de Andrade <quantum.analyst@gmail.com>
parents: 42396
diff changeset
186 #define PURPLE_VERSION_2_4 (G_ENCODE_VERSION(2, 4))
dc6563055e80 Export symbols and add Since tags for 2.4 API
Elliott Sales de Andrade <quantum.analyst@gmail.com>
parents: 42396
diff changeset
187
dc6563055e80 Export symbols and add Since tags for 2.4 API
Elliott Sales de Andrade <quantum.analyst@gmail.com>
parents: 42396
diff changeset
188 #if PURPLE_VERSION_MAX_ALLOWED < PURPLE_VERSION_2_4
dc6563055e80 Export symbols and add Since tags for 2.4 API
Elliott Sales de Andrade <quantum.analyst@gmail.com>
parents: 42396
diff changeset
189 #define PURPLE_AVAILABLE_IN_2_4 PURPLE_UNAVAILABLE(2, 4)
dc6563055e80 Export symbols and add Since tags for 2.4 API
Elliott Sales de Andrade <quantum.analyst@gmail.com>
parents: 42396
diff changeset
190 #else
dc6563055e80 Export symbols and add Since tags for 2.4 API
Elliott Sales de Andrade <quantum.analyst@gmail.com>
parents: 42396
diff changeset
191 #define PURPLE_AVAILABLE_IN_2_4 _PURPLE_EXTERN
dc6563055e80 Export symbols and add Since tags for 2.4 API
Elliott Sales de Andrade <quantum.analyst@gmail.com>
parents: 42396
diff changeset
192 #endif
dc6563055e80 Export symbols and add Since tags for 2.4 API
Elliott Sales de Andrade <quantum.analyst@gmail.com>
parents: 42396
diff changeset
193
dc6563055e80 Export symbols and add Since tags for 2.4 API
Elliott Sales de Andrade <quantum.analyst@gmail.com>
parents: 42396
diff changeset
194 /**
42396
31bf5a42ac84 Export symbols and add Since tags for 2.5 API
Elliott Sales de Andrade <quantum.analyst@gmail.com>
parents: 42394
diff changeset
195 * PURPLE_VERSION_2_5:
31bf5a42ac84 Export symbols and add Since tags for 2.5 API
Elliott Sales de Andrade <quantum.analyst@gmail.com>
parents: 42394
diff changeset
196 *
31bf5a42ac84 Export symbols and add Since tags for 2.5 API
Elliott Sales de Andrade <quantum.analyst@gmail.com>
parents: 42394
diff changeset
197 * A macro that evaluates to the 2.5 version of libpurple, in a format that
31bf5a42ac84 Export symbols and add Since tags for 2.5 API
Elliott Sales de Andrade <quantum.analyst@gmail.com>
parents: 42394
diff changeset
198 * can be used by the C pre-processor.
31bf5a42ac84 Export symbols and add Since tags for 2.5 API
Elliott Sales de Andrade <quantum.analyst@gmail.com>
parents: 42394
diff changeset
199 *
31bf5a42ac84 Export symbols and add Since tags for 2.5 API
Elliott Sales de Andrade <quantum.analyst@gmail.com>
parents: 42394
diff changeset
200 * Since: 3.0.0
31bf5a42ac84 Export symbols and add Since tags for 2.5 API
Elliott Sales de Andrade <quantum.analyst@gmail.com>
parents: 42394
diff changeset
201 */
31bf5a42ac84 Export symbols and add Since tags for 2.5 API
Elliott Sales de Andrade <quantum.analyst@gmail.com>
parents: 42394
diff changeset
202 #define PURPLE_VERSION_2_5 (G_ENCODE_VERSION(2, 5))
31bf5a42ac84 Export symbols and add Since tags for 2.5 API
Elliott Sales de Andrade <quantum.analyst@gmail.com>
parents: 42394
diff changeset
203
31bf5a42ac84 Export symbols and add Since tags for 2.5 API
Elliott Sales de Andrade <quantum.analyst@gmail.com>
parents: 42394
diff changeset
204 #if PURPLE_VERSION_MAX_ALLOWED < PURPLE_VERSION_2_5
31bf5a42ac84 Export symbols and add Since tags for 2.5 API
Elliott Sales de Andrade <quantum.analyst@gmail.com>
parents: 42394
diff changeset
205 #define PURPLE_AVAILABLE_IN_2_5 PURPLE_UNAVAILABLE(2, 5)
31bf5a42ac84 Export symbols and add Since tags for 2.5 API
Elliott Sales de Andrade <quantum.analyst@gmail.com>
parents: 42394
diff changeset
206 #else
31bf5a42ac84 Export symbols and add Since tags for 2.5 API
Elliott Sales de Andrade <quantum.analyst@gmail.com>
parents: 42394
diff changeset
207 #define PURPLE_AVAILABLE_IN_2_5 _PURPLE_EXTERN
31bf5a42ac84 Export symbols and add Since tags for 2.5 API
Elliott Sales de Andrade <quantum.analyst@gmail.com>
parents: 42394
diff changeset
208 #endif
31bf5a42ac84 Export symbols and add Since tags for 2.5 API
Elliott Sales de Andrade <quantum.analyst@gmail.com>
parents: 42394
diff changeset
209
31bf5a42ac84 Export symbols and add Since tags for 2.5 API
Elliott Sales de Andrade <quantum.analyst@gmail.com>
parents: 42394
diff changeset
210 /**
42394
b3bc5ad00646 Export symbols and add Since tags for 2.6 API
Elliott Sales de Andrade <quantum.analyst@gmail.com>
parents: 42393
diff changeset
211 * PURPLE_VERSION_2_6:
b3bc5ad00646 Export symbols and add Since tags for 2.6 API
Elliott Sales de Andrade <quantum.analyst@gmail.com>
parents: 42393
diff changeset
212 *
b3bc5ad00646 Export symbols and add Since tags for 2.6 API
Elliott Sales de Andrade <quantum.analyst@gmail.com>
parents: 42393
diff changeset
213 * A macro that evaluates to the 2.6 version of libpurple, in a format that
b3bc5ad00646 Export symbols and add Since tags for 2.6 API
Elliott Sales de Andrade <quantum.analyst@gmail.com>
parents: 42393
diff changeset
214 * can be used by the C pre-processor.
b3bc5ad00646 Export symbols and add Since tags for 2.6 API
Elliott Sales de Andrade <quantum.analyst@gmail.com>
parents: 42393
diff changeset
215 *
b3bc5ad00646 Export symbols and add Since tags for 2.6 API
Elliott Sales de Andrade <quantum.analyst@gmail.com>
parents: 42393
diff changeset
216 * Since: 3.0.0
b3bc5ad00646 Export symbols and add Since tags for 2.6 API
Elliott Sales de Andrade <quantum.analyst@gmail.com>
parents: 42393
diff changeset
217 */
b3bc5ad00646 Export symbols and add Since tags for 2.6 API
Elliott Sales de Andrade <quantum.analyst@gmail.com>
parents: 42393
diff changeset
218 #define PURPLE_VERSION_2_6 (G_ENCODE_VERSION(2, 6))
b3bc5ad00646 Export symbols and add Since tags for 2.6 API
Elliott Sales de Andrade <quantum.analyst@gmail.com>
parents: 42393
diff changeset
219
b3bc5ad00646 Export symbols and add Since tags for 2.6 API
Elliott Sales de Andrade <quantum.analyst@gmail.com>
parents: 42393
diff changeset
220 #if PURPLE_VERSION_MAX_ALLOWED < PURPLE_VERSION_2_6
b3bc5ad00646 Export symbols and add Since tags for 2.6 API
Elliott Sales de Andrade <quantum.analyst@gmail.com>
parents: 42393
diff changeset
221 #define PURPLE_AVAILABLE_IN_2_6 PURPLE_UNAVAILABLE(2, 6)
b3bc5ad00646 Export symbols and add Since tags for 2.6 API
Elliott Sales de Andrade <quantum.analyst@gmail.com>
parents: 42393
diff changeset
222 #define PURPLE_AVAILABLE_STATIC_INLINE_IN_2_6 PURPLE_UNAVAILABLE_STATIC_INLINE(2, 6)
b3bc5ad00646 Export symbols and add Since tags for 2.6 API
Elliott Sales de Andrade <quantum.analyst@gmail.com>
parents: 42393
diff changeset
223 #define PURPLE_AVAILABLE_TYPE_IN_2_6 PURPLE_UNAVAILABLE_TYPE(2, 6)
b3bc5ad00646 Export symbols and add Since tags for 2.6 API
Elliott Sales de Andrade <quantum.analyst@gmail.com>
parents: 42393
diff changeset
224 #else
b3bc5ad00646 Export symbols and add Since tags for 2.6 API
Elliott Sales de Andrade <quantum.analyst@gmail.com>
parents: 42393
diff changeset
225 #define PURPLE_AVAILABLE_IN_2_6 _PURPLE_EXTERN
b3bc5ad00646 Export symbols and add Since tags for 2.6 API
Elliott Sales de Andrade <quantum.analyst@gmail.com>
parents: 42393
diff changeset
226 #define PURPLE_AVAILABLE_STATIC_INLINE_IN_2_6
b3bc5ad00646 Export symbols and add Since tags for 2.6 API
Elliott Sales de Andrade <quantum.analyst@gmail.com>
parents: 42393
diff changeset
227 #define PURPLE_AVAILABLE_TYPE_IN_2_6
b3bc5ad00646 Export symbols and add Since tags for 2.6 API
Elliott Sales de Andrade <quantum.analyst@gmail.com>
parents: 42393
diff changeset
228 #endif
b3bc5ad00646 Export symbols and add Since tags for 2.6 API
Elliott Sales de Andrade <quantum.analyst@gmail.com>
parents: 42393
diff changeset
229
b3bc5ad00646 Export symbols and add Since tags for 2.6 API
Elliott Sales de Andrade <quantum.analyst@gmail.com>
parents: 42393
diff changeset
230 /**
42393
408884ab47a9 Export symbols and add Since tags for 2.7 API
Elliott Sales de Andrade <quantum.analyst@gmail.com>
parents: 42392
diff changeset
231 * PURPLE_VERSION_2_7:
408884ab47a9 Export symbols and add Since tags for 2.7 API
Elliott Sales de Andrade <quantum.analyst@gmail.com>
parents: 42392
diff changeset
232 *
408884ab47a9 Export symbols and add Since tags for 2.7 API
Elliott Sales de Andrade <quantum.analyst@gmail.com>
parents: 42392
diff changeset
233 * A macro that evaluates to the 2.7 version of libpurple, in a format that
408884ab47a9 Export symbols and add Since tags for 2.7 API
Elliott Sales de Andrade <quantum.analyst@gmail.com>
parents: 42392
diff changeset
234 * can be used by the C pre-processor.
408884ab47a9 Export symbols and add Since tags for 2.7 API
Elliott Sales de Andrade <quantum.analyst@gmail.com>
parents: 42392
diff changeset
235 *
408884ab47a9 Export symbols and add Since tags for 2.7 API
Elliott Sales de Andrade <quantum.analyst@gmail.com>
parents: 42392
diff changeset
236 * Since: 3.0.0
408884ab47a9 Export symbols and add Since tags for 2.7 API
Elliott Sales de Andrade <quantum.analyst@gmail.com>
parents: 42392
diff changeset
237 */
408884ab47a9 Export symbols and add Since tags for 2.7 API
Elliott Sales de Andrade <quantum.analyst@gmail.com>
parents: 42392
diff changeset
238 #define PURPLE_VERSION_2_7 (G_ENCODE_VERSION(2, 7))
408884ab47a9 Export symbols and add Since tags for 2.7 API
Elliott Sales de Andrade <quantum.analyst@gmail.com>
parents: 42392
diff changeset
239
408884ab47a9 Export symbols and add Since tags for 2.7 API
Elliott Sales de Andrade <quantum.analyst@gmail.com>
parents: 42392
diff changeset
240 #if PURPLE_VERSION_MAX_ALLOWED < PURPLE_VERSION_2_7
408884ab47a9 Export symbols and add Since tags for 2.7 API
Elliott Sales de Andrade <quantum.analyst@gmail.com>
parents: 42392
diff changeset
241 #define PURPLE_AVAILABLE_IN_2_7 PURPLE_UNAVAILABLE(2, 7)
408884ab47a9 Export symbols and add Since tags for 2.7 API
Elliott Sales de Andrade <quantum.analyst@gmail.com>
parents: 42392
diff changeset
242 #else
408884ab47a9 Export symbols and add Since tags for 2.7 API
Elliott Sales de Andrade <quantum.analyst@gmail.com>
parents: 42392
diff changeset
243 #define PURPLE_AVAILABLE_IN_2_7 _PURPLE_EXTERN
408884ab47a9 Export symbols and add Since tags for 2.7 API
Elliott Sales de Andrade <quantum.analyst@gmail.com>
parents: 42392
diff changeset
244 #endif
408884ab47a9 Export symbols and add Since tags for 2.7 API
Elliott Sales de Andrade <quantum.analyst@gmail.com>
parents: 42392
diff changeset
245
408884ab47a9 Export symbols and add Since tags for 2.7 API
Elliott Sales de Andrade <quantum.analyst@gmail.com>
parents: 42392
diff changeset
246 /**
42392
bc5e361de7ff Export symbols and add Since tags for 2.8 API
Elliott Sales de Andrade <quantum.analyst@gmail.com>
parents: 42388
diff changeset
247 * PURPLE_VERSION_2_8:
bc5e361de7ff Export symbols and add Since tags for 2.8 API
Elliott Sales de Andrade <quantum.analyst@gmail.com>
parents: 42388
diff changeset
248 *
bc5e361de7ff Export symbols and add Since tags for 2.8 API
Elliott Sales de Andrade <quantum.analyst@gmail.com>
parents: 42388
diff changeset
249 * A macro that evaluates to the 2.8 version of libpurple, in a format that
bc5e361de7ff Export symbols and add Since tags for 2.8 API
Elliott Sales de Andrade <quantum.analyst@gmail.com>
parents: 42388
diff changeset
250 * can be used by the C pre-processor.
bc5e361de7ff Export symbols and add Since tags for 2.8 API
Elliott Sales de Andrade <quantum.analyst@gmail.com>
parents: 42388
diff changeset
251 *
bc5e361de7ff Export symbols and add Since tags for 2.8 API
Elliott Sales de Andrade <quantum.analyst@gmail.com>
parents: 42388
diff changeset
252 * Since: 3.0.0
bc5e361de7ff Export symbols and add Since tags for 2.8 API
Elliott Sales de Andrade <quantum.analyst@gmail.com>
parents: 42388
diff changeset
253 */
bc5e361de7ff Export symbols and add Since tags for 2.8 API
Elliott Sales de Andrade <quantum.analyst@gmail.com>
parents: 42388
diff changeset
254 #define PURPLE_VERSION_2_8 (G_ENCODE_VERSION(2, 8))
bc5e361de7ff Export symbols and add Since tags for 2.8 API
Elliott Sales de Andrade <quantum.analyst@gmail.com>
parents: 42388
diff changeset
255
bc5e361de7ff Export symbols and add Since tags for 2.8 API
Elliott Sales de Andrade <quantum.analyst@gmail.com>
parents: 42388
diff changeset
256 #if PURPLE_VERSION_MAX_ALLOWED < PURPLE_VERSION_2_8
bc5e361de7ff Export symbols and add Since tags for 2.8 API
Elliott Sales de Andrade <quantum.analyst@gmail.com>
parents: 42388
diff changeset
257 #define PURPLE_AVAILABLE_IN_2_8 PURPLE_UNAVAILABLE(2, 8)
42400
64c85dc25cd4 Tag some miscellanous Since and exports
Elliott Sales de Andrade <quantum.analyst@gmail.com>
parents: 42399
diff changeset
258 #define PURPLE_AVAILABLE_ENUMERATOR_IN_2_8 PURPLE_UNAVAILABLE_ENUMERATOR(2, 8)
42392
bc5e361de7ff Export symbols and add Since tags for 2.8 API
Elliott Sales de Andrade <quantum.analyst@gmail.com>
parents: 42388
diff changeset
259 #else
bc5e361de7ff Export symbols and add Since tags for 2.8 API
Elliott Sales de Andrade <quantum.analyst@gmail.com>
parents: 42388
diff changeset
260 #define PURPLE_AVAILABLE_IN_2_8 _PURPLE_EXTERN
42400
64c85dc25cd4 Tag some miscellanous Since and exports
Elliott Sales de Andrade <quantum.analyst@gmail.com>
parents: 42399
diff changeset
261 #define PURPLE_AVAILABLE_ENUMERATOR_IN_2_8
42392
bc5e361de7ff Export symbols and add Since tags for 2.8 API
Elliott Sales de Andrade <quantum.analyst@gmail.com>
parents: 42388
diff changeset
262 #endif
bc5e361de7ff Export symbols and add Since tags for 2.8 API
Elliott Sales de Andrade <quantum.analyst@gmail.com>
parents: 42388
diff changeset
263
bc5e361de7ff Export symbols and add Since tags for 2.8 API
Elliott Sales de Andrade <quantum.analyst@gmail.com>
parents: 42388
diff changeset
264 /**
42437
e3886c8b95fe Set minimum allowed API to 2.0
Elliott Sales de Andrade <quantum.analyst@gmail.com>
parents: 42400
diff changeset
265 * PURPLE_VERSION_2_9:
e3886c8b95fe Set minimum allowed API to 2.0
Elliott Sales de Andrade <quantum.analyst@gmail.com>
parents: 42400
diff changeset
266 *
e3886c8b95fe Set minimum allowed API to 2.0
Elliott Sales de Andrade <quantum.analyst@gmail.com>
parents: 42400
diff changeset
267 * A macro that evaluates to the 2.9 version of libpurple, in a format that
e3886c8b95fe Set minimum allowed API to 2.0
Elliott Sales de Andrade <quantum.analyst@gmail.com>
parents: 42400
diff changeset
268 * can be used by the C pre-processor.
e3886c8b95fe Set minimum allowed API to 2.0
Elliott Sales de Andrade <quantum.analyst@gmail.com>
parents: 42400
diff changeset
269 *
e3886c8b95fe Set minimum allowed API to 2.0
Elliott Sales de Andrade <quantum.analyst@gmail.com>
parents: 42400
diff changeset
270 * Since: 3.0.0
e3886c8b95fe Set minimum allowed API to 2.0
Elliott Sales de Andrade <quantum.analyst@gmail.com>
parents: 42400
diff changeset
271 */
e3886c8b95fe Set minimum allowed API to 2.0
Elliott Sales de Andrade <quantum.analyst@gmail.com>
parents: 42400
diff changeset
272 #define PURPLE_VERSION_2_9 (G_ENCODE_VERSION(2, 9))
e3886c8b95fe Set minimum allowed API to 2.0
Elliott Sales de Andrade <quantum.analyst@gmail.com>
parents: 42400
diff changeset
273
e3886c8b95fe Set minimum allowed API to 2.0
Elliott Sales de Andrade <quantum.analyst@gmail.com>
parents: 42400
diff changeset
274 #if PURPLE_VERSION_MAX_ALLOWED < PURPLE_VERSION_2_9
e3886c8b95fe Set minimum allowed API to 2.0
Elliott Sales de Andrade <quantum.analyst@gmail.com>
parents: 42400
diff changeset
275 #define PURPLE_AVAILABLE_IN_2_9 PURPLE_UNAVAILABLE(2, 9)
e3886c8b95fe Set minimum allowed API to 2.0
Elliott Sales de Andrade <quantum.analyst@gmail.com>
parents: 42400
diff changeset
276 #else
e3886c8b95fe Set minimum allowed API to 2.0
Elliott Sales de Andrade <quantum.analyst@gmail.com>
parents: 42400
diff changeset
277 #define PURPLE_AVAILABLE_IN_2_9 _PURPLE_EXTERN
e3886c8b95fe Set minimum allowed API to 2.0
Elliott Sales de Andrade <quantum.analyst@gmail.com>
parents: 42400
diff changeset
278 #endif
e3886c8b95fe Set minimum allowed API to 2.0
Elliott Sales de Andrade <quantum.analyst@gmail.com>
parents: 42400
diff changeset
279
e3886c8b95fe Set minimum allowed API to 2.0
Elliott Sales de Andrade <quantum.analyst@gmail.com>
parents: 42400
diff changeset
280 /**
e3886c8b95fe Set minimum allowed API to 2.0
Elliott Sales de Andrade <quantum.analyst@gmail.com>
parents: 42400
diff changeset
281 * PURPLE_VERSION_2_10:
e3886c8b95fe Set minimum allowed API to 2.0
Elliott Sales de Andrade <quantum.analyst@gmail.com>
parents: 42400
diff changeset
282 *
e3886c8b95fe Set minimum allowed API to 2.0
Elliott Sales de Andrade <quantum.analyst@gmail.com>
parents: 42400
diff changeset
283 * A macro that evaluates to the 2.10 version of libpurple, in a format that
e3886c8b95fe Set minimum allowed API to 2.0
Elliott Sales de Andrade <quantum.analyst@gmail.com>
parents: 42400
diff changeset
284 * can be used by the C pre-processor.
e3886c8b95fe Set minimum allowed API to 2.0
Elliott Sales de Andrade <quantum.analyst@gmail.com>
parents: 42400
diff changeset
285 *
e3886c8b95fe Set minimum allowed API to 2.0
Elliott Sales de Andrade <quantum.analyst@gmail.com>
parents: 42400
diff changeset
286 * Since: 3.0.0
e3886c8b95fe Set minimum allowed API to 2.0
Elliott Sales de Andrade <quantum.analyst@gmail.com>
parents: 42400
diff changeset
287 */
e3886c8b95fe Set minimum allowed API to 2.0
Elliott Sales de Andrade <quantum.analyst@gmail.com>
parents: 42400
diff changeset
288 #define PURPLE_VERSION_2_10 (G_ENCODE_VERSION(2, 10))
e3886c8b95fe Set minimum allowed API to 2.0
Elliott Sales de Andrade <quantum.analyst@gmail.com>
parents: 42400
diff changeset
289
e3886c8b95fe Set minimum allowed API to 2.0
Elliott Sales de Andrade <quantum.analyst@gmail.com>
parents: 42400
diff changeset
290 #if PURPLE_VERSION_MAX_ALLOWED < PURPLE_VERSION_2_10
e3886c8b95fe Set minimum allowed API to 2.0
Elliott Sales de Andrade <quantum.analyst@gmail.com>
parents: 42400
diff changeset
291 #define PURPLE_AVAILABLE_IN_2_10 PURPLE_UNAVAILABLE(2, 10)
e3886c8b95fe Set minimum allowed API to 2.0
Elliott Sales de Andrade <quantum.analyst@gmail.com>
parents: 42400
diff changeset
292 #else
e3886c8b95fe Set minimum allowed API to 2.0
Elliott Sales de Andrade <quantum.analyst@gmail.com>
parents: 42400
diff changeset
293 #define PURPLE_AVAILABLE_IN_2_10 _PURPLE_EXTERN
e3886c8b95fe Set minimum allowed API to 2.0
Elliott Sales de Andrade <quantum.analyst@gmail.com>
parents: 42400
diff changeset
294 #endif
e3886c8b95fe Set minimum allowed API to 2.0
Elliott Sales de Andrade <quantum.analyst@gmail.com>
parents: 42400
diff changeset
295
e3886c8b95fe Set minimum allowed API to 2.0
Elliott Sales de Andrade <quantum.analyst@gmail.com>
parents: 42400
diff changeset
296 /**
42388
e0f4a672f85d Add symbol visibility for symbols tagged with Since: 2.x
Elliott Sales de Andrade <quantum.analyst@gmail.com>
parents: 42387
diff changeset
297 * PURPLE_VERSION_2_11:
e0f4a672f85d Add symbol visibility for symbols tagged with Since: 2.x
Elliott Sales de Andrade <quantum.analyst@gmail.com>
parents: 42387
diff changeset
298 *
e0f4a672f85d Add symbol visibility for symbols tagged with Since: 2.x
Elliott Sales de Andrade <quantum.analyst@gmail.com>
parents: 42387
diff changeset
299 * A macro that evaluates to the 2.11 version of libpurple, in a format that
e0f4a672f85d Add symbol visibility for symbols tagged with Since: 2.x
Elliott Sales de Andrade <quantum.analyst@gmail.com>
parents: 42387
diff changeset
300 * can be used by the C pre-processor.
e0f4a672f85d Add symbol visibility for symbols tagged with Since: 2.x
Elliott Sales de Andrade <quantum.analyst@gmail.com>
parents: 42387
diff changeset
301 *
e0f4a672f85d Add symbol visibility for symbols tagged with Since: 2.x
Elliott Sales de Andrade <quantum.analyst@gmail.com>
parents: 42387
diff changeset
302 * Since: 3.0.0
e0f4a672f85d Add symbol visibility for symbols tagged with Since: 2.x
Elliott Sales de Andrade <quantum.analyst@gmail.com>
parents: 42387
diff changeset
303 */
e0f4a672f85d Add symbol visibility for symbols tagged with Since: 2.x
Elliott Sales de Andrade <quantum.analyst@gmail.com>
parents: 42387
diff changeset
304 #define PURPLE_VERSION_2_11 (G_ENCODE_VERSION(2, 11))
e0f4a672f85d Add symbol visibility for symbols tagged with Since: 2.x
Elliott Sales de Andrade <quantum.analyst@gmail.com>
parents: 42387
diff changeset
305
e0f4a672f85d Add symbol visibility for symbols tagged with Since: 2.x
Elliott Sales de Andrade <quantum.analyst@gmail.com>
parents: 42387
diff changeset
306 #if PURPLE_VERSION_MAX_ALLOWED < PURPLE_VERSION_2_11
e0f4a672f85d Add symbol visibility for symbols tagged with Since: 2.x
Elliott Sales de Andrade <quantum.analyst@gmail.com>
parents: 42387
diff changeset
307 #define PURPLE_AVAILABLE_IN_2_11 PURPLE_UNAVAILABLE(2, 11)
e0f4a672f85d Add symbol visibility for symbols tagged with Since: 2.x
Elliott Sales de Andrade <quantum.analyst@gmail.com>
parents: 42387
diff changeset
308 #else
e0f4a672f85d Add symbol visibility for symbols tagged with Since: 2.x
Elliott Sales de Andrade <quantum.analyst@gmail.com>
parents: 42387
diff changeset
309 #define PURPLE_AVAILABLE_IN_2_11 _PURPLE_EXTERN
e0f4a672f85d Add symbol visibility for symbols tagged with Since: 2.x
Elliott Sales de Andrade <quantum.analyst@gmail.com>
parents: 42387
diff changeset
310 #endif
e0f4a672f85d Add symbol visibility for symbols tagged with Since: 2.x
Elliott Sales de Andrade <quantum.analyst@gmail.com>
parents: 42387
diff changeset
311
e0f4a672f85d Add symbol visibility for symbols tagged with Since: 2.x
Elliott Sales de Andrade <quantum.analyst@gmail.com>
parents: 42387
diff changeset
312 /**
42400
64c85dc25cd4 Tag some miscellanous Since and exports
Elliott Sales de Andrade <quantum.analyst@gmail.com>
parents: 42399
diff changeset
313 * PURPLE_VERSION_2_12:
64c85dc25cd4 Tag some miscellanous Since and exports
Elliott Sales de Andrade <quantum.analyst@gmail.com>
parents: 42399
diff changeset
314 *
64c85dc25cd4 Tag some miscellanous Since and exports
Elliott Sales de Andrade <quantum.analyst@gmail.com>
parents: 42399
diff changeset
315 * A macro that evaluates to the 2.12 version of libpurple, in a format that
64c85dc25cd4 Tag some miscellanous Since and exports
Elliott Sales de Andrade <quantum.analyst@gmail.com>
parents: 42399
diff changeset
316 * can be used by the C pre-processor.
64c85dc25cd4 Tag some miscellanous Since and exports
Elliott Sales de Andrade <quantum.analyst@gmail.com>
parents: 42399
diff changeset
317 *
64c85dc25cd4 Tag some miscellanous Since and exports
Elliott Sales de Andrade <quantum.analyst@gmail.com>
parents: 42399
diff changeset
318 * Since: 3.0.0
64c85dc25cd4 Tag some miscellanous Since and exports
Elliott Sales de Andrade <quantum.analyst@gmail.com>
parents: 42399
diff changeset
319 */
64c85dc25cd4 Tag some miscellanous Since and exports
Elliott Sales de Andrade <quantum.analyst@gmail.com>
parents: 42399
diff changeset
320 #define PURPLE_VERSION_2_12 (G_ENCODE_VERSION(2, 12))
64c85dc25cd4 Tag some miscellanous Since and exports
Elliott Sales de Andrade <quantum.analyst@gmail.com>
parents: 42399
diff changeset
321
64c85dc25cd4 Tag some miscellanous Since and exports
Elliott Sales de Andrade <quantum.analyst@gmail.com>
parents: 42399
diff changeset
322 #if PURPLE_VERSION_MAX_ALLOWED < PURPLE_VERSION_2_12
64c85dc25cd4 Tag some miscellanous Since and exports
Elliott Sales de Andrade <quantum.analyst@gmail.com>
parents: 42399
diff changeset
323 #define PURPLE_AVAILABLE_IN_2_12 PURPLE_UNAVAILABLE(2, 12)
64c85dc25cd4 Tag some miscellanous Since and exports
Elliott Sales de Andrade <quantum.analyst@gmail.com>
parents: 42399
diff changeset
324 #define PURPLE_AVAILABLE_ENUMERATOR_IN_2_12 PURPLE_UNAVAILABLE_ENUMERATOR(2, 12)
64c85dc25cd4 Tag some miscellanous Since and exports
Elliott Sales de Andrade <quantum.analyst@gmail.com>
parents: 42399
diff changeset
325 #else
64c85dc25cd4 Tag some miscellanous Since and exports
Elliott Sales de Andrade <quantum.analyst@gmail.com>
parents: 42399
diff changeset
326 #define PURPLE_AVAILABLE_IN_2_12 _PURPLE_EXTERN
64c85dc25cd4 Tag some miscellanous Since and exports
Elliott Sales de Andrade <quantum.analyst@gmail.com>
parents: 42399
diff changeset
327 #define PURPLE_AVAILABLE_ENUMERATOR_IN_2_12
64c85dc25cd4 Tag some miscellanous Since and exports
Elliott Sales de Andrade <quantum.analyst@gmail.com>
parents: 42399
diff changeset
328 #endif
64c85dc25cd4 Tag some miscellanous Since and exports
Elliott Sales de Andrade <quantum.analyst@gmail.com>
parents: 42399
diff changeset
329
64c85dc25cd4 Tag some miscellanous Since and exports
Elliott Sales de Andrade <quantum.analyst@gmail.com>
parents: 42399
diff changeset
330 /**
42437
e3886c8b95fe Set minimum allowed API to 2.0
Elliott Sales de Andrade <quantum.analyst@gmail.com>
parents: 42400
diff changeset
331 * PURPLE_VERSION_2_13:
e3886c8b95fe Set minimum allowed API to 2.0
Elliott Sales de Andrade <quantum.analyst@gmail.com>
parents: 42400
diff changeset
332 *
e3886c8b95fe Set minimum allowed API to 2.0
Elliott Sales de Andrade <quantum.analyst@gmail.com>
parents: 42400
diff changeset
333 * A macro that evaluates to the 2.13 version of libpurple, in a format that
e3886c8b95fe Set minimum allowed API to 2.0
Elliott Sales de Andrade <quantum.analyst@gmail.com>
parents: 42400
diff changeset
334 * can be used by the C pre-processor.
e3886c8b95fe Set minimum allowed API to 2.0
Elliott Sales de Andrade <quantum.analyst@gmail.com>
parents: 42400
diff changeset
335 *
e3886c8b95fe Set minimum allowed API to 2.0
Elliott Sales de Andrade <quantum.analyst@gmail.com>
parents: 42400
diff changeset
336 * Since: 3.0.0
e3886c8b95fe Set minimum allowed API to 2.0
Elliott Sales de Andrade <quantum.analyst@gmail.com>
parents: 42400
diff changeset
337 */
e3886c8b95fe Set minimum allowed API to 2.0
Elliott Sales de Andrade <quantum.analyst@gmail.com>
parents: 42400
diff changeset
338 #define PURPLE_VERSION_2_13 (G_ENCODE_VERSION(2, 13))
e3886c8b95fe Set minimum allowed API to 2.0
Elliott Sales de Andrade <quantum.analyst@gmail.com>
parents: 42400
diff changeset
339
e3886c8b95fe Set minimum allowed API to 2.0
Elliott Sales de Andrade <quantum.analyst@gmail.com>
parents: 42400
diff changeset
340 #if PURPLE_VERSION_MAX_ALLOWED < PURPLE_VERSION_2_13
e3886c8b95fe Set minimum allowed API to 2.0
Elliott Sales de Andrade <quantum.analyst@gmail.com>
parents: 42400
diff changeset
341 #define PURPLE_AVAILABLE_IN_2_13 PURPLE_UNAVAILABLE(2, 13)
e3886c8b95fe Set minimum allowed API to 2.0
Elliott Sales de Andrade <quantum.analyst@gmail.com>
parents: 42400
diff changeset
342 #else
e3886c8b95fe Set minimum allowed API to 2.0
Elliott Sales de Andrade <quantum.analyst@gmail.com>
parents: 42400
diff changeset
343 #define PURPLE_AVAILABLE_IN_2_13 _PURPLE_EXTERN
e3886c8b95fe Set minimum allowed API to 2.0
Elliott Sales de Andrade <quantum.analyst@gmail.com>
parents: 42400
diff changeset
344 #endif
e3886c8b95fe Set minimum allowed API to 2.0
Elliott Sales de Andrade <quantum.analyst@gmail.com>
parents: 42400
diff changeset
345
e3886c8b95fe Set minimum allowed API to 2.0
Elliott Sales de Andrade <quantum.analyst@gmail.com>
parents: 42400
diff changeset
346 /**
42388
e0f4a672f85d Add symbol visibility for symbols tagged with Since: 2.x
Elliott Sales de Andrade <quantum.analyst@gmail.com>
parents: 42387
diff changeset
347 * PURPLE_VERSION_2_14:
e0f4a672f85d Add symbol visibility for symbols tagged with Since: 2.x
Elliott Sales de Andrade <quantum.analyst@gmail.com>
parents: 42387
diff changeset
348 *
e0f4a672f85d Add symbol visibility for symbols tagged with Since: 2.x
Elliott Sales de Andrade <quantum.analyst@gmail.com>
parents: 42387
diff changeset
349 * A macro that evaluates to the 2.14 version of libpurple, in a format that
e0f4a672f85d Add symbol visibility for symbols tagged with Since: 2.x
Elliott Sales de Andrade <quantum.analyst@gmail.com>
parents: 42387
diff changeset
350 * can be used by the C pre-processor.
e0f4a672f85d Add symbol visibility for symbols tagged with Since: 2.x
Elliott Sales de Andrade <quantum.analyst@gmail.com>
parents: 42387
diff changeset
351 *
e0f4a672f85d Add symbol visibility for symbols tagged with Since: 2.x
Elliott Sales de Andrade <quantum.analyst@gmail.com>
parents: 42387
diff changeset
352 * Since: 3.0.0
e0f4a672f85d Add symbol visibility for symbols tagged with Since: 2.x
Elliott Sales de Andrade <quantum.analyst@gmail.com>
parents: 42387
diff changeset
353 */
e0f4a672f85d Add symbol visibility for symbols tagged with Since: 2.x
Elliott Sales de Andrade <quantum.analyst@gmail.com>
parents: 42387
diff changeset
354 #define PURPLE_VERSION_2_14 (G_ENCODE_VERSION(2, 14))
e0f4a672f85d Add symbol visibility for symbols tagged with Since: 2.x
Elliott Sales de Andrade <quantum.analyst@gmail.com>
parents: 42387
diff changeset
355
e0f4a672f85d Add symbol visibility for symbols tagged with Since: 2.x
Elliott Sales de Andrade <quantum.analyst@gmail.com>
parents: 42387
diff changeset
356 #if PURPLE_VERSION_MAX_ALLOWED < PURPLE_VERSION_2_14
e0f4a672f85d Add symbol visibility for symbols tagged with Since: 2.x
Elliott Sales de Andrade <quantum.analyst@gmail.com>
parents: 42387
diff changeset
357 #define PURPLE_AVAILABLE_IN_2_14 PURPLE_UNAVAILABLE(2, 14)
e0f4a672f85d Add symbol visibility for symbols tagged with Since: 2.x
Elliott Sales de Andrade <quantum.analyst@gmail.com>
parents: 42387
diff changeset
358 #else
e0f4a672f85d Add symbol visibility for symbols tagged with Since: 2.x
Elliott Sales de Andrade <quantum.analyst@gmail.com>
parents: 42387
diff changeset
359 #define PURPLE_AVAILABLE_IN_2_14 _PURPLE_EXTERN
e0f4a672f85d Add symbol visibility for symbols tagged with Since: 2.x
Elliott Sales de Andrade <quantum.analyst@gmail.com>
parents: 42387
diff changeset
360 #endif
e0f4a672f85d Add symbol visibility for symbols tagged with Since: 2.x
Elliott Sales de Andrade <quantum.analyst@gmail.com>
parents: 42387
diff changeset
361
e0f4a672f85d Add symbol visibility for symbols tagged with Since: 2.x
Elliott Sales de Andrade <quantum.analyst@gmail.com>
parents: 42387
diff changeset
362 /**
42387
d9350cda1556 Export symbols added for 3.0.0
Elliott Sales de Andrade <quantum.analyst@gmail.com>
parents: 42376
diff changeset
363 * PURPLE_VERSION_3_0:
d9350cda1556 Export symbols added for 3.0.0
Elliott Sales de Andrade <quantum.analyst@gmail.com>
parents: 42376
diff changeset
364 *
d9350cda1556 Export symbols added for 3.0.0
Elliott Sales de Andrade <quantum.analyst@gmail.com>
parents: 42376
diff changeset
365 * A macro that evaluates to the 3.0 version of libpurple, in a format that can
d9350cda1556 Export symbols added for 3.0.0
Elliott Sales de Andrade <quantum.analyst@gmail.com>
parents: 42376
diff changeset
366 * be used by the C pre-processor.
d9350cda1556 Export symbols added for 3.0.0
Elliott Sales de Andrade <quantum.analyst@gmail.com>
parents: 42376
diff changeset
367 *
d9350cda1556 Export symbols added for 3.0.0
Elliott Sales de Andrade <quantum.analyst@gmail.com>
parents: 42376
diff changeset
368 * Since: 3.0.0
d9350cda1556 Export symbols added for 3.0.0
Elliott Sales de Andrade <quantum.analyst@gmail.com>
parents: 42376
diff changeset
369 */
d9350cda1556 Export symbols added for 3.0.0
Elliott Sales de Andrade <quantum.analyst@gmail.com>
parents: 42376
diff changeset
370 #define PURPLE_VERSION_3_0 (G_ENCODE_VERSION(3, 0))
d9350cda1556 Export symbols added for 3.0.0
Elliott Sales de Andrade <quantum.analyst@gmail.com>
parents: 42376
diff changeset
371
d9350cda1556 Export symbols added for 3.0.0
Elliott Sales de Andrade <quantum.analyst@gmail.com>
parents: 42376
diff changeset
372 #if PURPLE_VERSION_MAX_ALLOWED < PURPLE_VERSION_3_0
d9350cda1556 Export symbols added for 3.0.0
Elliott Sales de Andrade <quantum.analyst@gmail.com>
parents: 42376
diff changeset
373 #define PURPLE_AVAILABLE_IN_3_0 PURPLE_UNAVAILABLE(3, 0)
d9350cda1556 Export symbols added for 3.0.0
Elliott Sales de Andrade <quantum.analyst@gmail.com>
parents: 42376
diff changeset
374 #define PURPLE_AVAILABLE_STATIC_INLINE_IN_3_0 PURPLE_UNAVAILABLE_STATIC_INLINE(3, 0)
d9350cda1556 Export symbols added for 3.0.0
Elliott Sales de Andrade <quantum.analyst@gmail.com>
parents: 42376
diff changeset
375 #define PURPLE_AVAILABLE_MACRO_IN_3_0 PURPLE_UNAVAILABLE_MACRO(3, 0)
d9350cda1556 Export symbols added for 3.0.0
Elliott Sales de Andrade <quantum.analyst@gmail.com>
parents: 42376
diff changeset
376 #define PURPLE_AVAILABLE_ENUMERATOR_IN_3_0 PURPLE_UNAVAILABLE_ENUMERATOR(3, 0)
d9350cda1556 Export symbols added for 3.0.0
Elliott Sales de Andrade <quantum.analyst@gmail.com>
parents: 42376
diff changeset
377 #define PURPLE_AVAILABLE_TYPE_IN_3_0 PURPLE_UNAVAILABLE_TYPE(3, 0)
d9350cda1556 Export symbols added for 3.0.0
Elliott Sales de Andrade <quantum.analyst@gmail.com>
parents: 42376
diff changeset
378 #else
d9350cda1556 Export symbols added for 3.0.0
Elliott Sales de Andrade <quantum.analyst@gmail.com>
parents: 42376
diff changeset
379 #define PURPLE_AVAILABLE_IN_3_0 _PURPLE_EXTERN
d9350cda1556 Export symbols added for 3.0.0
Elliott Sales de Andrade <quantum.analyst@gmail.com>
parents: 42376
diff changeset
380 #define PURPLE_AVAILABLE_STATIC_INLINE_IN_3_0
d9350cda1556 Export symbols added for 3.0.0
Elliott Sales de Andrade <quantum.analyst@gmail.com>
parents: 42376
diff changeset
381 #define PURPLE_AVAILABLE_MACRO_IN_3_0
d9350cda1556 Export symbols added for 3.0.0
Elliott Sales de Andrade <quantum.analyst@gmail.com>
parents: 42376
diff changeset
382 #define PURPLE_AVAILABLE_ENUMERATOR_IN_3_0
d9350cda1556 Export symbols added for 3.0.0
Elliott Sales de Andrade <quantum.analyst@gmail.com>
parents: 42376
diff changeset
383 #define PURPLE_AVAILABLE_TYPE_IN_3_0
d9350cda1556 Export symbols added for 3.0.0
Elliott Sales de Andrade <quantum.analyst@gmail.com>
parents: 42376
diff changeset
384 #endif
d9350cda1556 Export symbols added for 3.0.0
Elliott Sales de Andrade <quantum.analyst@gmail.com>
parents: 42376
diff changeset
385
35429
a69e118387f8 Add section block for *.h.in
Ankit Vani <a@nevitus.org>
parents: 35397
diff changeset
386 /**
40206
566c210f7003 Add PURPLE_VERSION and PURPLE_EXTRA_VERSION to libpurple/version.h and clean up some other related stuff
Gary Kramlich <grim@reaperworld.com>
parents: 39659
diff changeset
387 * PURPLE_VERSION_CHECK:
566c210f7003 Add PURPLE_VERSION and PURPLE_EXTRA_VERSION to libpurple/version.h and clean up some other related stuff
Gary Kramlich <grim@reaperworld.com>
parents: 39659
diff changeset
388 * @major: The major version to check for.
566c210f7003 Add PURPLE_VERSION and PURPLE_EXTRA_VERSION to libpurple/version.h and clean up some other related stuff
Gary Kramlich <grim@reaperworld.com>
parents: 39659
diff changeset
389 * @minor: The minor version to check for.
566c210f7003 Add PURPLE_VERSION and PURPLE_EXTRA_VERSION to libpurple/version.h and clean up some other related stuff
Gary Kramlich <grim@reaperworld.com>
parents: 39659
diff changeset
390 * @micro: The micro version to check for.
566c210f7003 Add PURPLE_VERSION and PURPLE_EXTRA_VERSION to libpurple/version.h and clean up some other related stuff
Gary Kramlich <grim@reaperworld.com>
parents: 39659
diff changeset
391 *
566c210f7003 Add PURPLE_VERSION and PURPLE_EXTRA_VERSION to libpurple/version.h and clean up some other related stuff
Gary Kramlich <grim@reaperworld.com>
parents: 39659
diff changeset
392 * Checks the version of libpurple being compiled against. See
566c210f7003 Add PURPLE_VERSION and PURPLE_EXTRA_VERSION to libpurple/version.h and clean up some other related stuff
Gary Kramlich <grim@reaperworld.com>
parents: 39659
diff changeset
393 * #purple_version_check for a runtime check.
566c210f7003 Add PURPLE_VERSION and PURPLE_EXTRA_VERSION to libpurple/version.h and clean up some other related stuff
Gary Kramlich <grim@reaperworld.com>
parents: 39659
diff changeset
394 *
566c210f7003 Add PURPLE_VERSION and PURPLE_EXTRA_VERSION to libpurple/version.h and clean up some other related stuff
Gary Kramlich <grim@reaperworld.com>
parents: 39659
diff changeset
395 * Returns: %TRUE if the version of libpurple is the same or newer than the
566c210f7003 Add PURPLE_VERSION and PURPLE_EXTRA_VERSION to libpurple/version.h and clean up some other related stuff
Gary Kramlich <grim@reaperworld.com>
parents: 39659
diff changeset
396 * passed-in version.
566c210f7003 Add PURPLE_VERSION and PURPLE_EXTRA_VERSION to libpurple/version.h and clean up some other related stuff
Gary Kramlich <grim@reaperworld.com>
parents: 39659
diff changeset
397 */
566c210f7003 Add PURPLE_VERSION and PURPLE_EXTRA_VERSION to libpurple/version.h and clean up some other related stuff
Gary Kramlich <grim@reaperworld.com>
parents: 39659
diff changeset
398 #define PURPLE_VERSION_CHECK(major, minor, micro) ((major) == PURPLE_MAJOR_VERSION && \
566c210f7003 Add PURPLE_VERSION and PURPLE_EXTRA_VERSION to libpurple/version.h and clean up some other related stuff
Gary Kramlich <grim@reaperworld.com>
parents: 39659
diff changeset
399 ((minor) < PURPLE_MINOR_VERSION || \
566c210f7003 Add PURPLE_VERSION and PURPLE_EXTRA_VERSION to libpurple/version.h and clean up some other related stuff
Gary Kramlich <grim@reaperworld.com>
parents: 39659
diff changeset
400 ((minor) == PURPLE_MINOR_VERSION && (micro) <= PURPLE_MICRO_VERSION)))
9943
b54a762f60fa [gaim-migrate @ 10835]
Nathan Walp <nwalp@pidgin.im>
parents:
diff changeset
401
39383
0f9d49617abc Use G_BEGIN_DECLS and G_END_DECLS instead of raw extern "C"
Mike Ruprecht <cmaiku@gmail.com>
parents: 37094
diff changeset
402 G_BEGIN_DECLS
9943
b54a762f60fa [gaim-migrate @ 10835]
Nathan Walp <nwalp@pidgin.im>
parents:
diff changeset
403
16651
218fe51ae7b7 soname versioning of libpurple. Should help resolve debian bug 421282
Stu Tomlinson <nosnilmot@pidgin.im>
parents: 15884
diff changeset
404 /**
35397
31fa3a1aeff5 Move changes from soc.2013.gobjectification.gtkdoc to this branch
Ankit Vani <a@nevitus.org>
parents: 35393
diff changeset
405 * purple_version_check:
35393
00f876b129bc Initial replacements for gtk-doc style comments
Ankit Vani <a@nevitus.org>
parents: 32438
diff changeset
406 * @required_major: the required major version.
00f876b129bc Initial replacements for gtk-doc style comments
Ankit Vani <a@nevitus.org>
parents: 32438
diff changeset
407 * @required_minor: the required minor version.
00f876b129bc Initial replacements for gtk-doc style comments
Ankit Vani <a@nevitus.org>
parents: 32438
diff changeset
408 * @required_micro: the required micro version.
16651
218fe51ae7b7 soname versioning of libpurple. Should help resolve debian bug 421282
Stu Tomlinson <nosnilmot@pidgin.im>
parents: 15884
diff changeset
409 *
35397
31fa3a1aeff5 Move changes from soc.2013.gobjectification.gtkdoc to this branch
Ankit Vani <a@nevitus.org>
parents: 35393
diff changeset
410 * Checks that the libpurple version is compatible with the requested
31fa3a1aeff5 Move changes from soc.2013.gobjectification.gtkdoc to this branch
Ankit Vani <a@nevitus.org>
parents: 35393
diff changeset
411 * version
31fa3a1aeff5 Move changes from soc.2013.gobjectification.gtkdoc to this branch
Ankit Vani <a@nevitus.org>
parents: 35393
diff changeset
412 *
31fa3a1aeff5 Move changes from soc.2013.gobjectification.gtkdoc to this branch
Ankit Vani <a@nevitus.org>
parents: 35393
diff changeset
413 * Returns: %NULL if the versions are compatible, or a string describing
31fa3a1aeff5 Move changes from soc.2013.gobjectification.gtkdoc to this branch
Ankit Vani <a@nevitus.org>
parents: 35393
diff changeset
414 * the version mismatch if not compatible.
16651
218fe51ae7b7 soname versioning of libpurple. Should help resolve debian bug 421282
Stu Tomlinson <nosnilmot@pidgin.im>
parents: 15884
diff changeset
415 */
218fe51ae7b7 soname versioning of libpurple. Should help resolve debian bug 421282
Stu Tomlinson <nosnilmot@pidgin.im>
parents: 15884
diff changeset
416 const char *purple_version_check(guint required_major, guint required_minor, guint required_micro);
218fe51ae7b7 soname versioning of libpurple. Should help resolve debian bug 421282
Stu Tomlinson <nosnilmot@pidgin.im>
parents: 15884
diff changeset
417
22039
f2aa47f387a6 Export purple_*_version in version.h.
Will Thompson <resiak@pidgin.im>
parents: 22030
diff changeset
418 /**
35397
31fa3a1aeff5 Move changes from soc.2013.gobjectification.gtkdoc to this branch
Ankit Vani <a@nevitus.org>
parents: 35393
diff changeset
419 * purple_major_version:
31fa3a1aeff5 Move changes from soc.2013.gobjectification.gtkdoc to this branch
Ankit Vani <a@nevitus.org>
parents: 35393
diff changeset
420 *
22039
f2aa47f387a6 Export purple_*_version in version.h.
Will Thompson <resiak@pidgin.im>
parents: 22030
diff changeset
421 * The major version of the running libpurple. Contrast with
f2aa47f387a6 Export purple_*_version in version.h.
Will Thompson <resiak@pidgin.im>
parents: 22030
diff changeset
422 * #PURPLE_MAJOR_VERSION, which expands at compile time to the major version of
f2aa47f387a6 Export purple_*_version in version.h.
Will Thompson <resiak@pidgin.im>
parents: 22030
diff changeset
423 * libpurple being compiled against.
f2aa47f387a6 Export purple_*_version in version.h.
Will Thompson <resiak@pidgin.im>
parents: 22030
diff changeset
424 */
42400
64c85dc25cd4 Tag some miscellanous Since and exports
Elliott Sales de Andrade <quantum.analyst@gmail.com>
parents: 42399
diff changeset
425 PURPLE_VAR const guint purple_major_version;
22039
f2aa47f387a6 Export purple_*_version in version.h.
Will Thompson <resiak@pidgin.im>
parents: 22030
diff changeset
426
f2aa47f387a6 Export purple_*_version in version.h.
Will Thompson <resiak@pidgin.im>
parents: 22030
diff changeset
427 /**
35397
31fa3a1aeff5 Move changes from soc.2013.gobjectification.gtkdoc to this branch
Ankit Vani <a@nevitus.org>
parents: 35393
diff changeset
428 * purple_minor_version:
31fa3a1aeff5 Move changes from soc.2013.gobjectification.gtkdoc to this branch
Ankit Vani <a@nevitus.org>
parents: 35393
diff changeset
429 *
22039
f2aa47f387a6 Export purple_*_version in version.h.
Will Thompson <resiak@pidgin.im>
parents: 22030
diff changeset
430 * The minor version of the running libpurple. Contrast with
f2aa47f387a6 Export purple_*_version in version.h.
Will Thompson <resiak@pidgin.im>
parents: 22030
diff changeset
431 * #PURPLE_MINOR_VERSION, which expands at compile time to the minor version of
f2aa47f387a6 Export purple_*_version in version.h.
Will Thompson <resiak@pidgin.im>
parents: 22030
diff changeset
432 * libpurple being compiled against.
f2aa47f387a6 Export purple_*_version in version.h.
Will Thompson <resiak@pidgin.im>
parents: 22030
diff changeset
433 */
42400
64c85dc25cd4 Tag some miscellanous Since and exports
Elliott Sales de Andrade <quantum.analyst@gmail.com>
parents: 42399
diff changeset
434 PURPLE_VAR const guint purple_minor_version;
22039
f2aa47f387a6 Export purple_*_version in version.h.
Will Thompson <resiak@pidgin.im>
parents: 22030
diff changeset
435
f2aa47f387a6 Export purple_*_version in version.h.
Will Thompson <resiak@pidgin.im>
parents: 22030
diff changeset
436 /**
35397
31fa3a1aeff5 Move changes from soc.2013.gobjectification.gtkdoc to this branch
Ankit Vani <a@nevitus.org>
parents: 35393
diff changeset
437 * purple_micro_version:
22039
f2aa47f387a6 Export purple_*_version in version.h.
Will Thompson <resiak@pidgin.im>
parents: 22030
diff changeset
438 *
f2aa47f387a6 Export purple_*_version in version.h.
Will Thompson <resiak@pidgin.im>
parents: 22030
diff changeset
439 * The micro version of the running libpurple. Contrast with
f2aa47f387a6 Export purple_*_version in version.h.
Will Thompson <resiak@pidgin.im>
parents: 22030
diff changeset
440 * #PURPLE_MICRO_VERSION, which expands at compile time to the micro version of
f2aa47f387a6 Export purple_*_version in version.h.
Will Thompson <resiak@pidgin.im>
parents: 22030
diff changeset
441 * libpurple being compiled against.
f2aa47f387a6 Export purple_*_version in version.h.
Will Thompson <resiak@pidgin.im>
parents: 22030
diff changeset
442 */
42400
64c85dc25cd4 Tag some miscellanous Since and exports
Elliott Sales de Andrade <quantum.analyst@gmail.com>
parents: 42399
diff changeset
443 PURPLE_VAR const guint purple_micro_version;
22039
f2aa47f387a6 Export purple_*_version in version.h.
Will Thompson <resiak@pidgin.im>
parents: 22030
diff changeset
444
39383
0f9d49617abc Use G_BEGIN_DECLS and G_END_DECLS instead of raw extern "C"
Mike Ruprecht <cmaiku@gmail.com>
parents: 37094
diff changeset
445 G_END_DECLS
9943
b54a762f60fa [gaim-migrate @ 10835]
Nathan Walp <nwalp@pidgin.im>
parents:
diff changeset
446
39659
e4dfb99b0cef Fix libpurple header guards using reserved names.
Elliott Sales de Andrade <qulogic@pidgin.im>
parents: 39383
diff changeset
447 #endif /* PURPLE_VERSION_H */

mercurial