Move pygi-convert.sh into tools
[pygobject.git] / tests / gimarshallingtestsextra.h
blob57f52f46f0f46c6b84d9f70d535d0ef3cec56a90
1 /* gimarshallingtestsextra.h
3 * Copyright (C) 2016 Thibault Saunier <tsaunier@gnome.org>
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.
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.
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/>.
19 #ifndef EXTRA_TESTS
20 #define EXTRA_TESTS
22 #include <glib-object.h>
24 typedef enum
26 GI_MARSHALLING_TESTS_EXTRA_ENUM_VALUE1,
27 GI_MARSHALLING_TESTS_EXTRA_ENUM_VALUE2,
28 GI_MARSHALLING_TESTS_EXTRA_ENUM_VALUE3 = 42
29 } GIMarshallingTestsExtraEnum;
32 typedef enum
34 GI_MARSHALLING_TESTS_EXTRA_FLAGS_VALUE1 = 0,
35 GI_MARSHALLING_TESTS_EXTRA_FLAGS_VALUE2 = (gint)(1 << 31),
36 } GIMarshallingTestsExtraFlags;
38 GType gi_marshalling_tests_extra_flags_get_type (void) G_GNUC_CONST;
39 #define GI_MARSHALLING_TESTS_TYPE_EXTRA_FLAGS (gi_marshalling_tests_extra_flags_get_type ())
41 void gi_marshalling_tests_compare_two_gerrors_in_gvalue (GValue *v, GValue *v1);
42 void gi_marshalling_tests_ghashtable_enum_none_in (GHashTable *hash_table);
43 GHashTable * gi_marshalling_tests_ghashtable_enum_none_return (void);
45 gchar * gi_marshalling_tests_filename_copy (gchar *path_in);
46 gboolean gi_marshalling_tests_filename_exists (gchar *path);
47 gchar * gi_marshalling_tests_filename_to_glib_repr (gchar *path_in, gsize *len);
49 GIMarshallingTestsExtraEnum * gi_marshalling_tests_enum_array_return_type (gsize *n_members);
51 void gi_marshalling_tests_extra_flags_large_in (GIMarshallingTestsExtraFlags value);
53 #endif /* EXTRA_TESTS */