summaryrefslogtreecommitdiff
path: root/gio/tests/resourceplugin.c
blob: 1f218f26f7ae75aea4c20bea78e939c83dec7864 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
/*
 * Ensure the g_io_module_*() symbols are exported
 * on all supported compilers without using config.h.
 * This must be done before including any GLib headers,
 * since GLIB_AVAILABLE_IN_ALL, which is used to mark the
 * g_io_module*() symbols, is defined to be _GLIB_EXTERN,
 * which must be overridden to export the symbols.
 */
#include "modules/symbol-visibility.h"
#define _GLIB_EXTERN GLIB_TEST_EXPORT_SYMBOL

#include <gio/gio.h>

void
g_io_module_load (GIOModule *module)
{
}

void
g_io_module_unload (GIOModule   *module)
{
}

char **
g_io_module_query (void)
{
  return NULL;
}