1 /* -*- Mode: C; indent-tabs-mode: nil; c-basic-offset: 4 -*- */ 2 /* 3 * Copyright (C) 2010 Kouhei Sutou <kou@clear-code.com> 4 * 5 * This library is free software: you can redistribute it and/or modify 6 * it under the terms of the GNU Lesser General Public License as published by 7 * the Free Software Foundation, either version 3 of the License, or 8 * (at your option) any later version. 9 * 10 * This library is distributed in the hope that it will be useful, 11 * but WITHOUT ANY WARRANTY; without even the implied warranty of 12 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 13 * GNU Lesser General Public License for more details. 14 * 15 * You should have received a copy of the GNU Lesser General Public License 16 * along with this program. If not, see <http://www.gnu.org/licenses/>. 17 * 18 */ 19 20 #ifndef __GLIB_COMPATIBLE_H__ 21 #define __GLIB_COMPATIBLE_H__ 22 23 #include <glib-object.h> 24 #if !GLIB_CHECK_VERSION(2, 14, 0) 25 # include "gsequence.h" 26 # include "gregex.h" 27 # include "gstring.h" 28 #endif 29 30 G_BEGIN_DECLS 31 32 #if !GLIB_CHECK_VERSION(2, 14, 0) 33 # define g_hash_table_get_keys(hash_table) \ 34 gcompatible_hash_table_get_keys(hash_table) 35 GList *gcompatible_hash_table_get_keys (GHashTable *hash_table); 36 #endif 37 38 G_END_DECLS 39 40 #endif /* __GLIB_COMPATIBLE_H__ */ 41 42 /* 43 vi:ts=4:nowrap:ai:expandtab:sw=4 44 */ 45