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
14void
15g_io_module_load (GIOModule *module)
16{
17}
18
19void
20g_io_module_unload (GIOModule *module)
21{
22}
23
24char **
25g_io_module_query (void)
26{
27 return NULL;
28}
29

source code of gtk/subprojects/glib/gio/tests/resourceplugin.c