1 | /* |
2 | * Ensure the g_io_module_*() symbols are exported |
3 | * on all supported compilers without using config.h. |
4 | * This must be done before including any GLib headers, |
5 | * since GLIB_AVAILABLE_IN_ALL, which is used to mark the |
6 | * g_io_module*() symbols, is defined to be _GLIB_EXTERN, |
7 | * which must be overridden to export the symbols. |
8 | */ |
9 | #include "modules/symbol-visibility.h" |
10 | #define _GLIB_EXTERN GLIB_TEST_EXPORT_SYMBOL |
11 | |
12 | #include <gio/gio.h> |
13 | |
14 | void |
15 | g_io_module_load (GIOModule *module) |
16 | { |
17 | } |
18 | |
19 | void |
20 | g_io_module_unload (GIOModule *module) |
21 | { |
22 | } |
23 | |
24 | char ** |
25 | g_io_module_query (void) |
26 | { |
27 | return NULL; |
28 | } |
29 | |