1 /* g_int64_hash_routines.h
2 * Declaration of gint64 hash table routines absent from GLib < 2.22
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.
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.
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.
19 #ifndef __G_INT64_HASH_ROUTINES_H__
20 #define __G_INT64_HASH_ROUTINES_H__
24 #endif /* __cplusplus */
28 #include "ws_symbol_export.h"
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)
34 g_int64_hash (gconstpointer v);
36 WS_DLL_PUBLIC gboolean
37 g_int64_equal (gconstpointer v1,
39 #endif /* !GLIB_CHECK_VERSION(2,22,0) */
43 #endif /* __cplusplus */
45 #endif /* g_int64_hash_routines.h */