mirror of
https://gitlab.gnome.org/GNOME/glib.git
synced 2025-01-01 02:16:14 +01:00
2c13657b0f
One of our testcases builds a small giomodule for testing the loading of modules containing resources. Unfortunately, this module gets built using the same CFLAGS as the rest of GLib, including the visibility flags (defaulting to hidden). Use "config.h" to get a declaration of _GLIB_EXTERN that will export symbols properly and use it to annotate the necessary APIs.
21 lines
233 B
C
21 lines
233 B
C
#include "config.h"
|
|
|
|
#include <gio/gio.h>
|
|
|
|
_GLIB_EXTERN void
|
|
g_io_module_load (GIOModule *module)
|
|
{
|
|
}
|
|
|
|
_GLIB_EXTERN void
|
|
g_io_module_unload (GIOModule *module)
|
|
{
|
|
}
|
|
|
|
_GLIB_EXTERN char **
|
|
g_io_module_query (void)
|
|
{
|
|
return NULL;
|
|
}
|
|
|