Imported Upstream version 3.21.92
[platform/upstream/pygobject2.git] / tests / gimarshallingtestsextra.h
1 /* gimarshallingtestsextra.h
2  *
3  * Copyright (C) 2016 Thibault Saunier <tsaunier@gnome.org>
4  *
5  * This file is free software; you can redistribute it and/or modify it
6  * under the terms of the GNU Lesser General Public License as
7  * published by the Free Software Foundation; either version 3 of the
8  * License, or (at your option) any later version.
9  *
10  * This file is distributed in the hope that it will be useful, but
11  * WITHOUT ANY WARRANTY; without even the implied warranty of
12  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
13  * Lesser General Public License for more details.
14  *
15  * You should have received a copy of the GNU General Public License
16  * along with this program.  If not, see <http://www.gnu.org/licenses/>.
17  */
18
19 #ifndef EXTRA_TESTS
20 #define EXTRA_TESTS
21
22 #include <glib-object.h>
23
24 typedef enum
25 {
26   GI_MARSHALLING_TESTS_EXTRA_ENUM_VALUE1,
27   GI_MARSHALLING_TESTS_EXTRA_ENUM_VALUE2,
28   GI_MARSHALLING_TESTS_EXTRA_ENUM_VALUE3 = 42
29 } GIMarshallingTestsExtraEnum;
30
31
32 void gi_marshalling_tests_compare_two_gerrors_in_gvalue (GValue *v, GValue *v1);
33 void gi_marshalling_tests_ghashtable_enum_none_in (GHashTable *hash_table);
34 GHashTable * gi_marshalling_tests_ghashtable_enum_none_return (void);
35
36 gchar * gi_marshalling_tests_filename_copy (gchar *path_in);
37 gboolean gi_marshalling_tests_filename_exists (gchar *path);
38
39 #endif /* EXTRA_TESTS */