Commit bd148e12 authored by Alexander Larsson's avatar Alexander Larsson

Add _g_io_win32_get_module to get the gio HMODULE

parent 74214e29
......@@ -35,6 +35,10 @@ gpointer _g_io_module_get_default (const gchar *extension_point,
const gchar *envvar,
GIOModuleVerifyFunc verify_func);
#ifdef G_PLATFORM_WIN32
void *_g_io_win32_get_module (void);
#endif
G_END_DECLS
#endif /* __G_IO_MODULE_PRIV_H__ */
......@@ -795,6 +795,12 @@ DllMain (HINSTANCE hinstDLL,
return TRUE;
}
void *
_g_io_win32_get_module (void)
{
return gio_dll;
}
#endif
#undef GIO_MODULE_DIR
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment