MAX_MCS_INDEX is a valid array index.
[metze/wireshark/wip.git] / epan / g_int64_hash_routines.h
1 /* g_int64_hash_routines.h
2  * Declaration of gint64 hash table routines absent from GLib < 2.22
3  *
4  * This program is free software; you can redistribute it and/or
5  * modify it under the terms of the GNU General Public License
6  * as published by the Free Software Foundation; either version 2
7  * of the License, or (at your option) any later version.
8  *
9  * This program is distributed in the hope that it will be useful,
10  * but WITHOUT ANY WARRANTY; without even the implied warranty of
11  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
12  * GNU General Public License for more details.
13  *
14  * You should have received a copy of the GNU General Public License
15  * along with this program; if not, write to the Free Software
16  * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
17  */
18
19 #ifndef __G_INT64_HASH_ROUTINES_H__
20 #define __G_INT64_HASH_ROUTINES_H__
21
22 #ifdef __cplusplus
23 extern "C" {
24 #endif /* __cplusplus */
25
26 #include <glib.h>
27
28 #include "ws_symbol_export.h"
29
30 /* g_int64_hash, g_int64_equal are defined starting glib 2.22 - otherwise,
31    we have to provide them ourselves */
32 #if !GLIB_CHECK_VERSION(2,22,0)
33 WS_DLL_PUBLIC guint
34 g_int64_hash (gconstpointer v);
35
36 WS_DLL_PUBLIC gboolean
37 g_int64_equal (gconstpointer v1,
38                gconstpointer v2);
39 #endif /* !GLIB_CHECK_VERSION(2,22,0) */
40
41 #ifdef __cplusplus
42 }
43 #endif /* __cplusplus */
44
45 #endif /* g_int64_hash_routines.h */