Commit cef54a9b authored by Alexander Larsson's avatar Alexander Larsson

Add _g_io_win32_get_module to get the gio HMODULE

(cherry picked from commit bd148e12)
parent 9490d67f
...@@ -35,6 +35,10 @@ gpointer _g_io_module_get_default (const gchar *extension_point, ...@@ -35,6 +35,10 @@ gpointer _g_io_module_get_default (const gchar *extension_point,
const gchar *envvar, const gchar *envvar,
GIOModuleVerifyFunc verify_func); GIOModuleVerifyFunc verify_func);
#ifdef G_PLATFORM_WIN32
void *_g_io_win32_get_module (void);
#endif
G_END_DECLS G_END_DECLS
#endif /* __G_IO_MODULE_PRIV_H__ */ #endif /* __G_IO_MODULE_PRIV_H__ */
...@@ -795,6 +795,12 @@ DllMain (HINSTANCE hinstDLL, ...@@ -795,6 +795,12 @@ DllMain (HINSTANCE hinstDLL,
return TRUE; return TRUE;
} }
void *
_g_io_win32_get_module (void)
{
return gio_dll;
}
#endif #endif
#undef GIO_MODULE_DIR #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