glib/gio/tests/resourceplugin.c

30 lines
592 B
C
Raw Normal View History

/*
* 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 overriden to export the symbols.
*/
#include "modules/symbol-visibility.h"
#define _GLIB_EXTERN GLIB_TEST_EXPORT_SYMBOL
2011-12-21 21:45:16 +01:00
#include <gio/gio.h>
void
2011-12-21 21:45:16 +01:00
g_io_module_load (GIOModule *module)
{
}
void
2011-12-21 21:45:16 +01:00
g_io_module_unload (GIOModule *module)
{
}
char **
2011-12-21 21:45:16 +01:00
g_io_module_query (void)
{
return NULL;
}