pidgin
2.14.1
Main Page
Related Pages
Modules
Data Structures
Files
File List
Globals
glibcompat.h
Go to the documentation of this file.
1
6
/* purple
7
*
8
* Purple is the legal property of its developers, whose names are too numerous
9
* to list here. Please refer to the COPYRIGHT file distributed with this
10
* source distribution.
11
*
12
* This program is free software; you can redistribute it and/or modify
13
* it under the terms of the GNU General Public License as published by
14
* the Free Software Foundation; either version 2 of the License, or
15
* (at your option) any later version.
16
*
17
* This program is distributed in the hope that it will be useful,
18
* but WITHOUT ANY WARRANTY; without even the implied warranty of
19
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
20
* GNU General Public License for more details.
21
*
22
* You should have received a copy of the GNU General Public License
23
* along with this program; if not, write to the Free Software
24
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02111-1301 USA
25
*/
26
27
#ifndef PURPLE_GLIBCOMPAT_H
28
#define PURPLE_GLIBCOMPAT_H
29
30
#include <glib.h>
31
32
#if !GLIB_CHECK_VERSION(2,32,0)
33
# define G_GNUC_BEGIN_IGNORE_DEPRECATIONS
34
# define G_GNUC_END_IGNORE_DEPRECATIONS
35
36
void
g_queue_free_full(GQueue *queue, GDestroyNotify free_func);
37
38
gboolean g_hash_table_contains (GHashTable *hash_table, gconstpointer key);
39
40
#endif
/* !GLIB_CHECK_VERSION(2,32,0) */
41
42
#ifdef __clang__
43
44
#undef G_GNUC_BEGIN_IGNORE_DEPRECATIONS
45
#define G_GNUC_BEGIN_IGNORE_DEPRECATIONS \
46
_Pragma ("clang diagnostic push") \
47
_Pragma ("clang diagnostic ignored \"-Wdeprecated-declarations\"")
48
49
#undef G_GNUC_END_IGNORE_DEPRECATIONS
50
#define G_GNUC_END_IGNORE_DEPRECATIONS \
51
_Pragma ("clang diagnostic pop")
52
53
#endif
/* __clang__ */
54
55
#endif
/* PURPLE_GLIBCOMPAT_H */
56
libpurple
glibcompat.h
Generated on Fri Oct 23 2020 11:19:52 for pidgin by
1.8.9.1