libpurple/purpleversion.h

Mon, 12 May 2025 20:25:16 -0500

author
Gary Kramlich <grim@reaperworld.com>
date
Mon, 12 May 2025 20:25:16 -0500
changeset 43246
0e9bbe9b4da8
parent 42969
4132f4d92fd7
child 43285
acde304cf24c
permissions
-rw-r--r--

Handle formatting in server messages

Testing Done:
Used the default motd on my local ergo server to verify that formatting was working.

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

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
42594
eddde70cedd8 Create a test for verifying license headers and correct the ones that were wrong
Gary Kramlich <grim@reaperworld.com>
parents: 42437
diff changeset
6 * to list here. Please refer to the COPYRIGHT file distributed with this
9943
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 *
42594
eddde70cedd8 Create a test for verifying license headers and correct the ones that were wrong
Gary Kramlich <grim@reaperworld.com>
parents: 42437
diff changeset
9 * This library is free software; you can redistribute it and/or modify it
eddde70cedd8 Create a test for verifying license headers and correct the ones that were wrong
Gary Kramlich <grim@reaperworld.com>
parents: 42437
diff changeset
10 * under the terms of the GNU General Public License as published by the Free
eddde70cedd8 Create a test for verifying license headers and correct the ones that were wrong
Gary Kramlich <grim@reaperworld.com>
parents: 42437
diff changeset
11 * Software Foundation; either version 2 of the License, or (at your option)
eddde70cedd8 Create a test for verifying license headers and correct the ones that were wrong
Gary Kramlich <grim@reaperworld.com>
parents: 42437
diff changeset
12 * any later version.
9943
b54a762f60fa [gaim-migrate @ 10835]
Nathan Walp <nwalp@pidgin.im>
parents:
diff changeset
13 *
42594
eddde70cedd8 Create a test for verifying license headers and correct the ones that were wrong
Gary Kramlich <grim@reaperworld.com>
parents: 42437
diff changeset
14 * This library is distributed in the hope that it will be useful, but WITHOUT
eddde70cedd8 Create a test for verifying license headers and correct the ones that were wrong
Gary Kramlich <grim@reaperworld.com>
parents: 42437
diff changeset
15 * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
eddde70cedd8 Create a test for verifying license headers and correct the ones that were wrong
Gary Kramlich <grim@reaperworld.com>
parents: 42437
diff changeset
16 * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for
eddde70cedd8 Create a test for verifying license headers and correct the ones that were wrong
Gary Kramlich <grim@reaperworld.com>
parents: 42437
diff changeset
17 * more details.
9943
b54a762f60fa [gaim-migrate @ 10835]
Nathan Walp <nwalp@pidgin.im>
parents:
diff changeset
18 *
42594
eddde70cedd8 Create a test for verifying license headers and correct the ones that were wrong
Gary Kramlich <grim@reaperworld.com>
parents: 42437
diff changeset
19 * You should have received a copy of the GNU General Public License along with
eddde70cedd8 Create a test for verifying license headers and correct the ones that were wrong
Gary Kramlich <grim@reaperworld.com>
parents: 42437
diff changeset
20 * this library; 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
42599
4f19be7835c2 Define PURPLE_MACRO_UNAVAILABLE and PIDGIN_MACRO_UNAVAILABLE
Gary Kramlich <grim@reaperworld.com>
parents: 42594
diff changeset
57 #define PURPLE_UNAVAILABLE_MACRO(maj, min)
42387
d9350cda1556 Export symbols added for 3.0.0
Elliott Sales de Andrade <quantum.analyst@gmail.com>
parents: 42376
diff changeset
58 #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
59 #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
60 #else
d9350cda1556 Export symbols added for 3.0.0
Elliott Sales de Andrade <quantum.analyst@gmail.com>
parents: 42376
diff changeset
61 #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
62 #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
63 #define PURPLE_UNAVAILABLE(maj, min) G_UNAVAILABLE(maj, min) _PURPLE_EXTERN
42599
4f19be7835c2 Define PURPLE_MACRO_UNAVAILABLE and PIDGIN_MACRO_UNAVAILABLE
Gary Kramlich <grim@reaperworld.com>
parents: 42594
diff changeset
64 #define PURPLE_UNAVAILABLE_MACRO(maj, min) G_UNAVAILABLE_MACRO(maj, min)
42387
d9350cda1556 Export symbols added for 3.0.0
Elliott Sales de Andrade <quantum.analyst@gmail.com>
parents: 42376
diff changeset
65 #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
66 #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
67 #endif
d9350cda1556 Export symbols added for 3.0.0
Elliott Sales de Andrade <quantum.analyst@gmail.com>
parents: 42376
diff changeset
68
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 * PURPLE_VERSION_CUR_STABLE:
d9350cda1556 Export symbols added for 3.0.0
Elliott Sales de Andrade <quantum.analyst@gmail.com>
parents: 42376
diff changeset
71 *
d9350cda1556 Export symbols added for 3.0.0
Elliott Sales de Andrade <quantum.analyst@gmail.com>
parents: 42376
diff changeset
72 * 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
73 * 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
74 *
42616
a7144db5570a Remove the micro version from since tags for libpurple part 5
Gary Kramlich <grim@reaperworld.com>
parents: 42599
diff changeset
75 * Since: 3.0
42387
d9350cda1556 Export symbols added for 3.0.0
Elliott Sales de Andrade <quantum.analyst@gmail.com>
parents: 42376
diff changeset
76 */
42969
4132f4d92fd7 Change the version to 2.90.0 to let us do proper releases
Gary Kramlich <grim@reaperworld.com>
parents: 42656
diff changeset
77 #if (PURPLE_MINOR_VERSION >= 90)
4132f4d92fd7 Change the version to 2.90.0 to let us do proper releases
Gary Kramlich <grim@reaperworld.com>
parents: 42656
diff changeset
78 # define PURPLE_VERSION_CUR_STABLE (G_ENCODE_VERSION(PURPLE_MAJOR_VERSION + 1, 0))
4132f4d92fd7 Change the version to 2.90.0 to let us do proper releases
Gary Kramlich <grim@reaperworld.com>
parents: 42656
diff changeset
79 #else
4132f4d92fd7 Change the version to 2.90.0 to let us do proper releases
Gary Kramlich <grim@reaperworld.com>
parents: 42656
diff changeset
80 # define PURPLE_VERSION_CUR_STABLE (G_ENCODE_VERSION(PURPLE_MAJOR_VERSION, PURPLE_MINOR_VERSION))
4132f4d92fd7 Change the version to 2.90.0 to let us do proper releases
Gary Kramlich <grim@reaperworld.com>
parents: 42656
diff changeset
81 #endif
42387
d9350cda1556 Export symbols added for 3.0.0
Elliott Sales de Andrade <quantum.analyst@gmail.com>
parents: 42376
diff changeset
82
42656
df9aafbae930 Add a doc-check unit test to libpurple and fix the issues it has found
Gary Kramlich <grim@reaperworld.com>
parents: 42616
diff changeset
83 /**
df9aafbae930 Add a doc-check unit test to libpurple and fix the issues it has found
Gary Kramlich <grim@reaperworld.com>
parents: 42616
diff changeset
84 * PURPLE_VERSION_MIN_REQUIRED:
df9aafbae930 Add a doc-check unit test to libpurple and fix the issues it has found
Gary Kramlich <grim@reaperworld.com>
parents: 42616
diff changeset
85 *
df9aafbae930 Add a doc-check unit test to libpurple and fix the issues it has found
Gary Kramlich <grim@reaperworld.com>
parents: 42616
diff changeset
86 * A macro that should be defined by the user prior to including the `purple.h`
df9aafbae930 Add a doc-check unit test to libpurple and fix the issues it has found
Gary Kramlich <grim@reaperworld.com>
parents: 42616
diff changeset
87 * header.
df9aafbae930 Add a doc-check unit test to libpurple and fix the issues it has found
Gary Kramlich <grim@reaperworld.com>
parents: 42616
diff changeset
88 *
df9aafbae930 Add a doc-check unit test to libpurple and fix the issues it has found
Gary Kramlich <grim@reaperworld.com>
parents: 42616
diff changeset
89 * The definition should be one of the predefined Purple version macros:
df9aafbae930 Add a doc-check unit test to libpurple and fix the issues it has found
Gary Kramlich <grim@reaperworld.com>
parents: 42616
diff changeset
90 * %PURPLE_VERSION_3_0, %PURPLE_VERSION_3_1, ...
df9aafbae930 Add a doc-check unit test to libpurple and fix the issues it has found
Gary Kramlich <grim@reaperworld.com>
parents: 42616
diff changeset
91 *
df9aafbae930 Add a doc-check unit test to libpurple and fix the issues it has found
Gary Kramlich <grim@reaperworld.com>
parents: 42616
diff changeset
92 * This macro defines the earliest version of Purple that the package is
df9aafbae930 Add a doc-check unit test to libpurple and fix the issues it has found
Gary Kramlich <grim@reaperworld.com>
parents: 42616
diff changeset
93 * required to be able to compile against.
df9aafbae930 Add a doc-check unit test to libpurple and fix the issues it has found
Gary Kramlich <grim@reaperworld.com>
parents: 42616
diff changeset
94 *
df9aafbae930 Add a doc-check unit test to libpurple and fix the issues it has found
Gary Kramlich <grim@reaperworld.com>
parents: 42616
diff changeset
95 * If the compiler is configured to warn about the use of deprecated functions,
df9aafbae930 Add a doc-check unit test to libpurple and fix the issues it has found
Gary Kramlich <grim@reaperworld.com>
parents: 42616
diff changeset
96 * then using functions that were deprecated in version
df9aafbae930 Add a doc-check unit test to libpurple and fix the issues it has found
Gary Kramlich <grim@reaperworld.com>
parents: 42616
diff changeset
97 * %PURPLE_VERSION_MIN_REQUIRED or earlier will cause warnings (but using
df9aafbae930 Add a doc-check unit test to libpurple and fix the issues it has found
Gary Kramlich <grim@reaperworld.com>
parents: 42616
diff changeset
98 * functions deprecated in later releases will not).
df9aafbae930 Add a doc-check unit test to libpurple and fix the issues it has found
Gary Kramlich <grim@reaperworld.com>
parents: 42616
diff changeset
99 *
df9aafbae930 Add a doc-check unit test to libpurple and fix the issues it has found
Gary Kramlich <grim@reaperworld.com>
parents: 42616
diff changeset
100 * Since: 3.0
df9aafbae930 Add a doc-check unit test to libpurple and fix the issues it has found
Gary Kramlich <grim@reaperworld.com>
parents: 42616
diff changeset
101 */
df9aafbae930 Add a doc-check unit test to libpurple and fix the issues it has found
Gary Kramlich <grim@reaperworld.com>
parents: 42616
diff changeset
102
42387
d9350cda1556 Export symbols added for 3.0.0
Elliott Sales de Andrade <quantum.analyst@gmail.com>
parents: 42376
diff changeset
103 /* 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
104 * 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
105 * preprocessor tests.
d9350cda1556 Export symbols added for 3.0.0
Elliott Sales de Andrade <quantum.analyst@gmail.com>
parents: 42376
diff changeset
106 */
d9350cda1556 Export symbols added for 3.0.0
Elliott Sales de Andrade <quantum.analyst@gmail.com>
parents: 42376
diff changeset
107 #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
108 #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
109 #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
110 #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
111 #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
112 #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
113
d9350cda1556 Export symbols added for 3.0.0
Elliott Sales de Andrade <quantum.analyst@gmail.com>
parents: 42376
diff changeset
114 #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
115 #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
116 #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
117 #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
118
d9350cda1556 Export symbols added for 3.0.0
Elliott Sales de Andrade <quantum.analyst@gmail.com>
parents: 42376
diff changeset
119 /* sanity checks */
d9350cda1556 Export symbols added for 3.0.0
Elliott Sales de Andrade <quantum.analyst@gmail.com>
parents: 42376
diff changeset
120 #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
121 #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
122 #endif
d9350cda1556 Export symbols added for 3.0.0
Elliott Sales de Andrade <quantum.analyst@gmail.com>
parents: 42376
diff changeset
123 #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
124 #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
125 #endif
42437
e3886c8b95fe Set minimum allowed API to 2.0
Elliott Sales de Andrade <quantum.analyst@gmail.com>
parents: 42400
diff changeset
126 #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
127 #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
128 #endif
d9350cda1556 Export symbols added for 3.0.0
Elliott Sales de Andrade <quantum.analyst@gmail.com>
parents: 42376
diff changeset
129
d9350cda1556 Export symbols added for 3.0.0
Elliott Sales de Andrade <quantum.analyst@gmail.com>
parents: 42376
diff changeset
130 #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
131 #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
132
d9350cda1556 Export symbols added for 3.0.0
Elliott Sales de Andrade <quantum.analyst@gmail.com>
parents: 42376
diff changeset
133 /**
42437
e3886c8b95fe Set minimum allowed API to 2.0
Elliott Sales de Andrade <quantum.analyst@gmail.com>
parents: 42400
diff changeset
134 * PURPLE_VERSION_2_0:
e3886c8b95fe Set minimum allowed API to 2.0
Elliott Sales de Andrade <quantum.analyst@gmail.com>
parents: 42400
diff changeset
135 *
e3886c8b95fe Set minimum allowed API to 2.0
Elliott Sales de Andrade <quantum.analyst@gmail.com>
parents: 42400
diff changeset
136 * 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
137 * 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
138 *
42616
a7144db5570a Remove the micro version from since tags for libpurple part 5
Gary Kramlich <grim@reaperworld.com>
parents: 42599
diff changeset
139 * Since: 3.0
42437
e3886c8b95fe Set minimum allowed API to 2.0
Elliott Sales de Andrade <quantum.analyst@gmail.com>
parents: 42400
diff changeset
140 */
e3886c8b95fe Set minimum allowed API to 2.0
Elliott Sales de Andrade <quantum.analyst@gmail.com>
parents: 42400
diff changeset
141 #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
142
e3886c8b95fe Set minimum allowed API to 2.0
Elliott Sales de Andrade <quantum.analyst@gmail.com>
parents: 42400
diff changeset
143 #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
144 #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
145 #else
e3886c8b95fe Set minimum allowed API to 2.0
Elliott Sales de Andrade <quantum.analyst@gmail.com>
parents: 42400
diff changeset
146 #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
147 #endif
e3886c8b95fe Set minimum allowed API to 2.0
Elliott Sales de Andrade <quantum.analyst@gmail.com>
parents: 42400
diff changeset
148
e3886c8b95fe Set minimum allowed API to 2.0
Elliott Sales de Andrade <quantum.analyst@gmail.com>
parents: 42400
diff changeset
149 /**
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
150 * 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
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 * 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
153 * 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
154 *
42616
a7144db5570a Remove the micro version from since tags for libpurple part 5
Gary Kramlich <grim@reaperworld.com>
parents: 42599
diff changeset
155 * Since: 3.0
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
156 */
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_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
158
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 #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
160 #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
161 #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
162 #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
163 #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
164 #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
165 #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
166
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
167 /**
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
168 * 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
169 *
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
170 * 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
171 * 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
172 *
42616
a7144db5570a Remove the micro version from since tags for libpurple part 5
Gary Kramlich <grim@reaperworld.com>
parents: 42599
diff changeset
173 * Since: 3.0
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
174 */
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
175 #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
176
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
177 #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
178 #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
179 #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
180 #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
181 #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
182 #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
183 #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
184
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
185 /**
42398
00178e755de6 Export symbols and add Since tags for 2.3 API
Elliott Sales de Andrade <quantum.analyst@gmail.com>
parents: 42397
diff changeset
186 * 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
187 *
00178e755de6 Export symbols and add Since tags for 2.3 API
Elliott Sales de Andrade <quantum.analyst@gmail.com>
parents: 42397
diff changeset
188 * 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
189 * 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
190 *
42616
a7144db5570a Remove the micro version from since tags for libpurple part 5
Gary Kramlich <grim@reaperworld.com>
parents: 42599
diff changeset
191 * Since: 3.0
42398
00178e755de6 Export symbols and add Since tags for 2.3 API
Elliott Sales de Andrade <quantum.analyst@gmail.com>
parents: 42397
diff changeset
192 */
00178e755de6 Export symbols and add Since tags for 2.3 API
Elliott Sales de Andrade <quantum.analyst@gmail.com>
parents: 42397
diff changeset
193 #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
194
00178e755de6 Export symbols and add Since tags for 2.3 API
Elliott Sales de Andrade <quantum.analyst@gmail.com>
parents: 42397
diff changeset
195 #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
196 #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
197 #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
198 #else
00178e755de6 Export symbols and add Since tags for 2.3 API
Elliott Sales de Andrade <quantum.analyst@gmail.com>
parents: 42397
diff changeset
199 #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
200 #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
201 #endif
00178e755de6 Export symbols and add Since tags for 2.3 API
Elliott Sales de Andrade <quantum.analyst@gmail.com>
parents: 42397
diff changeset
202
00178e755de6 Export symbols and add Since tags for 2.3 API
Elliott Sales de Andrade <quantum.analyst@gmail.com>
parents: 42397
diff changeset
203 /**
42397
dc6563055e80 Export symbols and add Since tags for 2.4 API
Elliott Sales de Andrade <quantum.analyst@gmail.com>
parents: 42396
diff changeset
204 * 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
205 *
dc6563055e80 Export symbols and add Since tags for 2.4 API
Elliott Sales de Andrade <quantum.analyst@gmail.com>
parents: 42396
diff changeset
206 * 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
207 * 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
208 *
42616
a7144db5570a Remove the micro version from since tags for libpurple part 5
Gary Kramlich <grim@reaperworld.com>
parents: 42599
diff changeset
209 * Since: 3.0
42397
dc6563055e80 Export symbols and add Since tags for 2.4 API
Elliott Sales de Andrade <quantum.analyst@gmail.com>
parents: 42396
diff changeset
210 */
dc6563055e80 Export symbols and add Since tags for 2.4 API
Elliott Sales de Andrade <quantum.analyst@gmail.com>
parents: 42396
diff changeset
211 #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
212
dc6563055e80 Export symbols and add Since tags for 2.4 API
Elliott Sales de Andrade <quantum.analyst@gmail.com>
parents: 42396
diff changeset
213 #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
214 #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
215 #else
dc6563055e80 Export symbols and add Since tags for 2.4 API
Elliott Sales de Andrade <quantum.analyst@gmail.com>
parents: 42396
diff changeset
216 #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
217 #endif
dc6563055e80 Export symbols and add Since tags for 2.4 API
Elliott Sales de Andrade <quantum.analyst@gmail.com>
parents: 42396
diff changeset
218
dc6563055e80 Export symbols and add Since tags for 2.4 API
Elliott Sales de Andrade <quantum.analyst@gmail.com>
parents: 42396
diff changeset
219 /**
42396
31bf5a42ac84 Export symbols and add Since tags for 2.5 API
Elliott Sales de Andrade <quantum.analyst@gmail.com>
parents: 42394
diff changeset
220 * 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
221 *
31bf5a42ac84 Export symbols and add Since tags for 2.5 API
Elliott Sales de Andrade <quantum.analyst@gmail.com>
parents: 42394
diff changeset
222 * 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
223 * 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
224 *
42616
a7144db5570a Remove the micro version from since tags for libpurple part 5
Gary Kramlich <grim@reaperworld.com>
parents: 42599
diff changeset
225 * Since: 3.0
42396
31bf5a42ac84 Export symbols and add Since tags for 2.5 API
Elliott Sales de Andrade <quantum.analyst@gmail.com>
parents: 42394
diff changeset
226 */
31bf5a42ac84 Export symbols and add Since tags for 2.5 API
Elliott Sales de Andrade <quantum.analyst@gmail.com>
parents: 42394
diff changeset
227 #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
228
31bf5a42ac84 Export symbols and add Since tags for 2.5 API
Elliott Sales de Andrade <quantum.analyst@gmail.com>
parents: 42394
diff changeset
229 #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
230 #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
231 #else
31bf5a42ac84 Export symbols and add Since tags for 2.5 API
Elliott Sales de Andrade <quantum.analyst@gmail.com>
parents: 42394
diff changeset
232 #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
233 #endif
31bf5a42ac84 Export symbols and add Since tags for 2.5 API
Elliott Sales de Andrade <quantum.analyst@gmail.com>
parents: 42394
diff changeset
234
31bf5a42ac84 Export symbols and add Since tags for 2.5 API
Elliott Sales de Andrade <quantum.analyst@gmail.com>
parents: 42394
diff changeset
235 /**
42394
b3bc5ad00646 Export symbols and add Since tags for 2.6 API
Elliott Sales de Andrade <quantum.analyst@gmail.com>
parents: 42393
diff changeset
236 * 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
237 *
b3bc5ad00646 Export symbols and add Since tags for 2.6 API
Elliott Sales de Andrade <quantum.analyst@gmail.com>
parents: 42393
diff changeset
238 * 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
239 * 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
240 *
42616
a7144db5570a Remove the micro version from since tags for libpurple part 5
Gary Kramlich <grim@reaperworld.com>
parents: 42599
diff changeset
241 * Since: 3.0
42394
b3bc5ad00646 Export symbols and add Since tags for 2.6 API
Elliott Sales de Andrade <quantum.analyst@gmail.com>
parents: 42393
diff changeset
242 */
b3bc5ad00646 Export symbols and add Since tags for 2.6 API
Elliott Sales de Andrade <quantum.analyst@gmail.com>
parents: 42393
diff changeset
243 #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
244
b3bc5ad00646 Export symbols and add Since tags for 2.6 API
Elliott Sales de Andrade <quantum.analyst@gmail.com>
parents: 42393
diff changeset
245 #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
246 #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
247 #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
248 #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
249 #else
b3bc5ad00646 Export symbols and add Since tags for 2.6 API
Elliott Sales de Andrade <quantum.analyst@gmail.com>
parents: 42393
diff changeset
250 #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
251 #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
252 #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
253 #endif
b3bc5ad00646 Export symbols and add Since tags for 2.6 API
Elliott Sales de Andrade <quantum.analyst@gmail.com>
parents: 42393
diff changeset
254
b3bc5ad00646 Export symbols and add Since tags for 2.6 API
Elliott Sales de Andrade <quantum.analyst@gmail.com>
parents: 42393
diff changeset
255 /**
42393
408884ab47a9 Export symbols and add Since tags for 2.7 API
Elliott Sales de Andrade <quantum.analyst@gmail.com>
parents: 42392
diff changeset
256 * 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
257 *
408884ab47a9 Export symbols and add Since tags for 2.7 API
Elliott Sales de Andrade <quantum.analyst@gmail.com>
parents: 42392
diff changeset
258 * 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
259 * 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
260 *
42616
a7144db5570a Remove the micro version from since tags for libpurple part 5
Gary Kramlich <grim@reaperworld.com>
parents: 42599
diff changeset
261 * Since: 3.0
42393
408884ab47a9 Export symbols and add Since tags for 2.7 API
Elliott Sales de Andrade <quantum.analyst@gmail.com>
parents: 42392
diff changeset
262 */
408884ab47a9 Export symbols and add Since tags for 2.7 API
Elliott Sales de Andrade <quantum.analyst@gmail.com>
parents: 42392
diff changeset
263 #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
264
408884ab47a9 Export symbols and add Since tags for 2.7 API
Elliott Sales de Andrade <quantum.analyst@gmail.com>
parents: 42392
diff changeset
265 #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
266 #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
267 #else
408884ab47a9 Export symbols and add Since tags for 2.7 API
Elliott Sales de Andrade <quantum.analyst@gmail.com>
parents: 42392
diff changeset
268 #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
269 #endif
408884ab47a9 Export symbols and add Since tags for 2.7 API
Elliott Sales de Andrade <quantum.analyst@gmail.com>
parents: 42392
diff changeset
270
408884ab47a9 Export symbols and add Since tags for 2.7 API
Elliott Sales de Andrade <quantum.analyst@gmail.com>
parents: 42392
diff changeset
271 /**
42392
bc5e361de7ff Export symbols and add Since tags for 2.8 API
Elliott Sales de Andrade <quantum.analyst@gmail.com>
parents: 42388
diff changeset
272 * 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
273 *
bc5e361de7ff Export symbols and add Since tags for 2.8 API
Elliott Sales de Andrade <quantum.analyst@gmail.com>
parents: 42388
diff changeset
274 * 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
275 * 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
276 *
42616
a7144db5570a Remove the micro version from since tags for libpurple part 5
Gary Kramlich <grim@reaperworld.com>
parents: 42599
diff changeset
277 * Since: 3.0
42392
bc5e361de7ff Export symbols and add Since tags for 2.8 API
Elliott Sales de Andrade <quantum.analyst@gmail.com>
parents: 42388
diff changeset
278 */
bc5e361de7ff Export symbols and add Since tags for 2.8 API
Elliott Sales de Andrade <quantum.analyst@gmail.com>
parents: 42388
diff changeset
279 #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
280
bc5e361de7ff Export symbols and add Since tags for 2.8 API
Elliott Sales de Andrade <quantum.analyst@gmail.com>
parents: 42388
diff changeset
281 #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
282 #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
283 #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
284 #else
bc5e361de7ff Export symbols and add Since tags for 2.8 API
Elliott Sales de Andrade <quantum.analyst@gmail.com>
parents: 42388
diff changeset
285 #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
286 #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
287 #endif
bc5e361de7ff Export symbols and add Since tags for 2.8 API
Elliott Sales de Andrade <quantum.analyst@gmail.com>
parents: 42388
diff changeset
288
bc5e361de7ff Export symbols and add Since tags for 2.8 API
Elliott Sales de Andrade <quantum.analyst@gmail.com>
parents: 42388
diff changeset
289 /**
42437
e3886c8b95fe Set minimum allowed API to 2.0
Elliott Sales de Andrade <quantum.analyst@gmail.com>
parents: 42400
diff changeset
290 * PURPLE_VERSION_2_9:
e3886c8b95fe Set minimum allowed API to 2.0
Elliott Sales de Andrade <quantum.analyst@gmail.com>
parents: 42400
diff changeset
291 *
e3886c8b95fe Set minimum allowed API to 2.0
Elliott Sales de Andrade <quantum.analyst@gmail.com>
parents: 42400
diff changeset
292 * 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
293 * 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
294 *
42616
a7144db5570a Remove the micro version from since tags for libpurple part 5
Gary Kramlich <grim@reaperworld.com>
parents: 42599
diff changeset
295 * Since: 3.0
42437
e3886c8b95fe Set minimum allowed API to 2.0
Elliott Sales de Andrade <quantum.analyst@gmail.com>
parents: 42400
diff changeset
296 */
e3886c8b95fe Set minimum allowed API to 2.0
Elliott Sales de Andrade <quantum.analyst@gmail.com>
parents: 42400
diff changeset
297 #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
298
e3886c8b95fe Set minimum allowed API to 2.0
Elliott Sales de Andrade <quantum.analyst@gmail.com>
parents: 42400
diff changeset
299 #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
300 #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
301 #else
e3886c8b95fe Set minimum allowed API to 2.0
Elliott Sales de Andrade <quantum.analyst@gmail.com>
parents: 42400
diff changeset
302 #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
303 #endif
e3886c8b95fe Set minimum allowed API to 2.0
Elliott Sales de Andrade <quantum.analyst@gmail.com>
parents: 42400
diff changeset
304
e3886c8b95fe Set minimum allowed API to 2.0
Elliott Sales de Andrade <quantum.analyst@gmail.com>
parents: 42400
diff changeset
305 /**
e3886c8b95fe Set minimum allowed API to 2.0
Elliott Sales de Andrade <quantum.analyst@gmail.com>
parents: 42400
diff changeset
306 * PURPLE_VERSION_2_10:
e3886c8b95fe Set minimum allowed API to 2.0
Elliott Sales de Andrade <quantum.analyst@gmail.com>
parents: 42400
diff changeset
307 *
e3886c8b95fe Set minimum allowed API to 2.0
Elliott Sales de Andrade <quantum.analyst@gmail.com>
parents: 42400
diff changeset
308 * 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
309 * 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
310 *
42616
a7144db5570a Remove the micro version from since tags for libpurple part 5
Gary Kramlich <grim@reaperworld.com>
parents: 42599
diff changeset
311 * Since: 3.0
42437
e3886c8b95fe Set minimum allowed API to 2.0
Elliott Sales de Andrade <quantum.analyst@gmail.com>
parents: 42400
diff changeset
312 */
e3886c8b95fe Set minimum allowed API to 2.0
Elliott Sales de Andrade <quantum.analyst@gmail.com>
parents: 42400
diff changeset
313 #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
314
e3886c8b95fe Set minimum allowed API to 2.0
Elliott Sales de Andrade <quantum.analyst@gmail.com>
parents: 42400
diff changeset
315 #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
316 #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
317 #else
e3886c8b95fe Set minimum allowed API to 2.0
Elliott Sales de Andrade <quantum.analyst@gmail.com>
parents: 42400
diff changeset
318 #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
319 #endif
e3886c8b95fe Set minimum allowed API to 2.0
Elliott Sales de Andrade <quantum.analyst@gmail.com>
parents: 42400
diff changeset
320
e3886c8b95fe Set minimum allowed API to 2.0
Elliott Sales de Andrade <quantum.analyst@gmail.com>
parents: 42400
diff changeset
321 /**
42388
e0f4a672f85d Add symbol visibility for symbols tagged with Since: 2.x
Elliott Sales de Andrade <quantum.analyst@gmail.com>
parents: 42387
diff changeset
322 * 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
323 *
e0f4a672f85d Add symbol visibility for symbols tagged with Since: 2.x
Elliott Sales de Andrade <quantum.analyst@gmail.com>
parents: 42387
diff changeset
324 * 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
325 * 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
326 *
42616
a7144db5570a Remove the micro version from since tags for libpurple part 5
Gary Kramlich <grim@reaperworld.com>
parents: 42599
diff changeset
327 * Since: 3.0
42388
e0f4a672f85d Add symbol visibility for symbols tagged with Since: 2.x
Elliott Sales de Andrade <quantum.analyst@gmail.com>
parents: 42387
diff changeset
328 */
e0f4a672f85d Add symbol visibility for symbols tagged with Since: 2.x
Elliott Sales de Andrade <quantum.analyst@gmail.com>
parents: 42387
diff changeset
329 #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
330
e0f4a672f85d Add symbol visibility for symbols tagged with Since: 2.x
Elliott Sales de Andrade <quantum.analyst@gmail.com>
parents: 42387
diff changeset
331 #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
332 #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
333 #else
e0f4a672f85d Add symbol visibility for symbols tagged with Since: 2.x
Elliott Sales de Andrade <quantum.analyst@gmail.com>
parents: 42387
diff changeset
334 #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
335 #endif
e0f4a672f85d Add symbol visibility for symbols tagged with Since: 2.x
Elliott Sales de Andrade <quantum.analyst@gmail.com>
parents: 42387
diff changeset
336
e0f4a672f85d Add symbol visibility for symbols tagged with Since: 2.x
Elliott Sales de Andrade <quantum.analyst@gmail.com>
parents: 42387
diff changeset
337 /**
42400
64c85dc25cd4 Tag some miscellanous Since and exports
Elliott Sales de Andrade <quantum.analyst@gmail.com>
parents: 42399
diff changeset
338 * PURPLE_VERSION_2_12:
64c85dc25cd4 Tag some miscellanous Since and exports
Elliott Sales de Andrade <quantum.analyst@gmail.com>
parents: 42399
diff changeset
339 *
64c85dc25cd4 Tag some miscellanous Since and exports
Elliott Sales de Andrade <quantum.analyst@gmail.com>
parents: 42399
diff changeset
340 * 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
341 * 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
342 *
42616
a7144db5570a Remove the micro version from since tags for libpurple part 5
Gary Kramlich <grim@reaperworld.com>
parents: 42599
diff changeset
343 * Since: 3.0
42400
64c85dc25cd4 Tag some miscellanous Since and exports
Elliott Sales de Andrade <quantum.analyst@gmail.com>
parents: 42399
diff changeset
344 */
64c85dc25cd4 Tag some miscellanous Since and exports
Elliott Sales de Andrade <quantum.analyst@gmail.com>
parents: 42399
diff changeset
345 #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
346
64c85dc25cd4 Tag some miscellanous Since and exports
Elliott Sales de Andrade <quantum.analyst@gmail.com>
parents: 42399
diff changeset
347 #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
348 #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
349 #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
350 #else
64c85dc25cd4 Tag some miscellanous Since and exports
Elliott Sales de Andrade <quantum.analyst@gmail.com>
parents: 42399
diff changeset
351 #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
352 #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
353 #endif
64c85dc25cd4 Tag some miscellanous Since and exports
Elliott Sales de Andrade <quantum.analyst@gmail.com>
parents: 42399
diff changeset
354
64c85dc25cd4 Tag some miscellanous Since and exports
Elliott Sales de Andrade <quantum.analyst@gmail.com>
parents: 42399
diff changeset
355 /**
42437
e3886c8b95fe Set minimum allowed API to 2.0
Elliott Sales de Andrade <quantum.analyst@gmail.com>
parents: 42400
diff changeset
356 * PURPLE_VERSION_2_13:
e3886c8b95fe Set minimum allowed API to 2.0
Elliott Sales de Andrade <quantum.analyst@gmail.com>
parents: 42400
diff changeset
357 *
e3886c8b95fe Set minimum allowed API to 2.0
Elliott Sales de Andrade <quantum.analyst@gmail.com>
parents: 42400
diff changeset
358 * 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
359 * 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
360 *
42616
a7144db5570a Remove the micro version from since tags for libpurple part 5
Gary Kramlich <grim@reaperworld.com>
parents: 42599
diff changeset
361 * Since: 3.0
42437
e3886c8b95fe Set minimum allowed API to 2.0
Elliott Sales de Andrade <quantum.analyst@gmail.com>
parents: 42400
diff changeset
362 */
e3886c8b95fe Set minimum allowed API to 2.0
Elliott Sales de Andrade <quantum.analyst@gmail.com>
parents: 42400
diff changeset
363 #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
364
e3886c8b95fe Set minimum allowed API to 2.0
Elliott Sales de Andrade <quantum.analyst@gmail.com>
parents: 42400
diff changeset
365 #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
366 #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
367 #else
e3886c8b95fe Set minimum allowed API to 2.0
Elliott Sales de Andrade <quantum.analyst@gmail.com>
parents: 42400
diff changeset
368 #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
369 #endif
e3886c8b95fe Set minimum allowed API to 2.0
Elliott Sales de Andrade <quantum.analyst@gmail.com>
parents: 42400
diff changeset
370
e3886c8b95fe Set minimum allowed API to 2.0
Elliott Sales de Andrade <quantum.analyst@gmail.com>
parents: 42400
diff changeset
371 /**
42388
e0f4a672f85d Add symbol visibility for symbols tagged with Since: 2.x
Elliott Sales de Andrade <quantum.analyst@gmail.com>
parents: 42387
diff changeset
372 * 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
373 *
e0f4a672f85d Add symbol visibility for symbols tagged with Since: 2.x
Elliott Sales de Andrade <quantum.analyst@gmail.com>
parents: 42387
diff changeset
374 * 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
375 * 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
376 *
42616
a7144db5570a Remove the micro version from since tags for libpurple part 5
Gary Kramlich <grim@reaperworld.com>
parents: 42599
diff changeset
377 * Since: 3.0
42388
e0f4a672f85d Add symbol visibility for symbols tagged with Since: 2.x
Elliott Sales de Andrade <quantum.analyst@gmail.com>
parents: 42387
diff changeset
378 */
e0f4a672f85d Add symbol visibility for symbols tagged with Since: 2.x
Elliott Sales de Andrade <quantum.analyst@gmail.com>
parents: 42387
diff changeset
379 #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
380
e0f4a672f85d Add symbol visibility for symbols tagged with Since: 2.x
Elliott Sales de Andrade <quantum.analyst@gmail.com>
parents: 42387
diff changeset
381 #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
382 #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
383 #else
e0f4a672f85d Add symbol visibility for symbols tagged with Since: 2.x
Elliott Sales de Andrade <quantum.analyst@gmail.com>
parents: 42387
diff changeset
384 #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
385 #endif
e0f4a672f85d Add symbol visibility for symbols tagged with Since: 2.x
Elliott Sales de Andrade <quantum.analyst@gmail.com>
parents: 42387
diff changeset
386
e0f4a672f85d Add symbol visibility for symbols tagged with Since: 2.x
Elliott Sales de Andrade <quantum.analyst@gmail.com>
parents: 42387
diff changeset
387 /**
42387
d9350cda1556 Export symbols added for 3.0.0
Elliott Sales de Andrade <quantum.analyst@gmail.com>
parents: 42376
diff changeset
388 * PURPLE_VERSION_3_0:
d9350cda1556 Export symbols added for 3.0.0
Elliott Sales de Andrade <quantum.analyst@gmail.com>
parents: 42376
diff changeset
389 *
d9350cda1556 Export symbols added for 3.0.0
Elliott Sales de Andrade <quantum.analyst@gmail.com>
parents: 42376
diff changeset
390 * 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
391 * 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
392 *
42616
a7144db5570a Remove the micro version from since tags for libpurple part 5
Gary Kramlich <grim@reaperworld.com>
parents: 42599
diff changeset
393 * Since: 3.0
42387
d9350cda1556 Export symbols added for 3.0.0
Elliott Sales de Andrade <quantum.analyst@gmail.com>
parents: 42376
diff changeset
394 */
d9350cda1556 Export symbols added for 3.0.0
Elliott Sales de Andrade <quantum.analyst@gmail.com>
parents: 42376
diff changeset
395 #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
396
d9350cda1556 Export symbols added for 3.0.0
Elliott Sales de Andrade <quantum.analyst@gmail.com>
parents: 42376
diff changeset
397 #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
398 #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
399 #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
400 #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
401 #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
402 #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
403 #else
d9350cda1556 Export symbols added for 3.0.0
Elliott Sales de Andrade <quantum.analyst@gmail.com>
parents: 42376
diff changeset
404 #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
405 #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
406 #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
407 #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
408 #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
409 #endif
d9350cda1556 Export symbols added for 3.0.0
Elliott Sales de Andrade <quantum.analyst@gmail.com>
parents: 42376
diff changeset
410
35429
a69e118387f8 Add section block for *.h.in
Ankit Vani <a@nevitus.org>
parents: 35397
diff changeset
411 /**
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
412 * 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
413 * @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
414 * @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
415 * @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
416 *
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
417 * 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
418 * #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
419 *
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
420 * 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
421 * 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
422 */
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
423 #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
424 ((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
425 ((minor) == PURPLE_MINOR_VERSION && (micro) <= PURPLE_MICRO_VERSION)))
9943
b54a762f60fa [gaim-migrate @ 10835]
Nathan Walp <nwalp@pidgin.im>
parents:
diff changeset
426
39383
0f9d49617abc Use G_BEGIN_DECLS and G_END_DECLS instead of raw extern "C"
Mike Ruprecht <cmaiku@gmail.com>
parents: 37094
diff changeset
427 G_BEGIN_DECLS
9943
b54a762f60fa [gaim-migrate @ 10835]
Nathan Walp <nwalp@pidgin.im>
parents:
diff changeset
428
16651
218fe51ae7b7 soname versioning of libpurple. Should help resolve debian bug 421282
Stu Tomlinson <nosnilmot@pidgin.im>
parents: 15884
diff changeset
429 /**
35397
31fa3a1aeff5 Move changes from soc.2013.gobjectification.gtkdoc to this branch
Ankit Vani <a@nevitus.org>
parents: 35393
diff changeset
430 * purple_version_check:
35393
00f876b129bc Initial replacements for gtk-doc style comments
Ankit Vani <a@nevitus.org>
parents: 32438
diff changeset
431 * @required_major: the required major version.
00f876b129bc Initial replacements for gtk-doc style comments
Ankit Vani <a@nevitus.org>
parents: 32438
diff changeset
432 * @required_minor: the required minor version.
00f876b129bc Initial replacements for gtk-doc style comments
Ankit Vani <a@nevitus.org>
parents: 32438
diff changeset
433 * @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
434 *
35397
31fa3a1aeff5 Move changes from soc.2013.gobjectification.gtkdoc to this branch
Ankit Vani <a@nevitus.org>
parents: 35393
diff changeset
435 * 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
436 * version
31fa3a1aeff5 Move changes from soc.2013.gobjectification.gtkdoc to this branch
Ankit Vani <a@nevitus.org>
parents: 35393
diff changeset
437 *
31fa3a1aeff5 Move changes from soc.2013.gobjectification.gtkdoc to this branch
Ankit Vani <a@nevitus.org>
parents: 35393
diff changeset
438 * 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
439 * 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
440 */
218fe51ae7b7 soname versioning of libpurple. Should help resolve debian bug 421282
Stu Tomlinson <nosnilmot@pidgin.im>
parents: 15884
diff changeset
441 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
442
22039
f2aa47f387a6 Export purple_*_version in version.h.
Will Thompson <resiak@pidgin.im>
parents: 22030
diff changeset
443 /**
35397
31fa3a1aeff5 Move changes from soc.2013.gobjectification.gtkdoc to this branch
Ankit Vani <a@nevitus.org>
parents: 35393
diff changeset
444 * purple_major_version:
31fa3a1aeff5 Move changes from soc.2013.gobjectification.gtkdoc to this branch
Ankit Vani <a@nevitus.org>
parents: 35393
diff changeset
445 *
22039
f2aa47f387a6 Export purple_*_version in version.h.
Will Thompson <resiak@pidgin.im>
parents: 22030
diff changeset
446 * 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
447 * #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
448 * libpurple being compiled against.
f2aa47f387a6 Export purple_*_version in version.h.
Will Thompson <resiak@pidgin.im>
parents: 22030
diff changeset
449 */
42400
64c85dc25cd4 Tag some miscellanous Since and exports
Elliott Sales de Andrade <quantum.analyst@gmail.com>
parents: 42399
diff changeset
450 PURPLE_VAR const guint purple_major_version;
22039
f2aa47f387a6 Export purple_*_version in version.h.
Will Thompson <resiak@pidgin.im>
parents: 22030
diff changeset
451
f2aa47f387a6 Export purple_*_version in version.h.
Will Thompson <resiak@pidgin.im>
parents: 22030
diff changeset
452 /**
35397
31fa3a1aeff5 Move changes from soc.2013.gobjectification.gtkdoc to this branch
Ankit Vani <a@nevitus.org>
parents: 35393
diff changeset
453 * purple_minor_version:
31fa3a1aeff5 Move changes from soc.2013.gobjectification.gtkdoc to this branch
Ankit Vani <a@nevitus.org>
parents: 35393
diff changeset
454 *
22039
f2aa47f387a6 Export purple_*_version in version.h.
Will Thompson <resiak@pidgin.im>
parents: 22030
diff changeset
455 * 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
456 * #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
457 * libpurple being compiled against.
f2aa47f387a6 Export purple_*_version in version.h.
Will Thompson <resiak@pidgin.im>
parents: 22030
diff changeset
458 */
42400
64c85dc25cd4 Tag some miscellanous Since and exports
Elliott Sales de Andrade <quantum.analyst@gmail.com>
parents: 42399
diff changeset
459 PURPLE_VAR const guint purple_minor_version;
22039
f2aa47f387a6 Export purple_*_version in version.h.
Will Thompson <resiak@pidgin.im>
parents: 22030
diff changeset
460
f2aa47f387a6 Export purple_*_version in version.h.
Will Thompson <resiak@pidgin.im>
parents: 22030
diff changeset
461 /**
35397
31fa3a1aeff5 Move changes from soc.2013.gobjectification.gtkdoc to this branch
Ankit Vani <a@nevitus.org>
parents: 35393
diff changeset
462 * purple_micro_version:
22039
f2aa47f387a6 Export purple_*_version in version.h.
Will Thompson <resiak@pidgin.im>
parents: 22030
diff changeset
463 *
f2aa47f387a6 Export purple_*_version in version.h.
Will Thompson <resiak@pidgin.im>
parents: 22030
diff changeset
464 * 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
465 * #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
466 * libpurple being compiled against.
f2aa47f387a6 Export purple_*_version in version.h.
Will Thompson <resiak@pidgin.im>
parents: 22030
diff changeset
467 */
42400
64c85dc25cd4 Tag some miscellanous Since and exports
Elliott Sales de Andrade <quantum.analyst@gmail.com>
parents: 42399
diff changeset
468 PURPLE_VAR const guint purple_micro_version;
22039
f2aa47f387a6 Export purple_*_version in version.h.
Will Thompson <resiak@pidgin.im>
parents: 22030
diff changeset
469
39383
0f9d49617abc Use G_BEGIN_DECLS and G_END_DECLS instead of raw extern "C"
Mike Ruprecht <cmaiku@gmail.com>
parents: 37094
diff changeset
470 G_END_DECLS
9943
b54a762f60fa [gaim-migrate @ 10835]
Nathan Walp <nwalp@pidgin.im>
parents:
diff changeset
471
39659
e4dfb99b0cef Fix libpurple header guards using reserved names.
Elliott Sales de Andrade <qulogic@pidgin.im>
parents: 39383
diff changeset
472 #endif /* PURPLE_VERSION_H */

mercurial