mirror of
https://gitlab.gnome.org/GNOME/glib.git
synced 2025-11-04 10:08:56 +01:00
win32: prototype _glib_get_dll_directory() and _glib_get_locale_dir()
Rather than using "extern" declarations of these win32 functions everywhere they're needed, just prototype them in glib-private.h. (Which also fixes the fact that they weren't prototyped in the files where they're defined.) https://bugzilla.gnome.org/show_bug.cgi?id=688109
This commit is contained in:
@@ -30,6 +30,11 @@ gboolean g_check_setuid (void);
|
||||
G_GNUC_INTERNAL
|
||||
GMainContext * g_main_context_new_with_next_id (guint next_id);
|
||||
|
||||
#ifdef G_OS_WIN32
|
||||
gchar *_glib_get_dll_directory (void);
|
||||
gchar *_glib_get_locale_dir (void);
|
||||
#endif
|
||||
|
||||
#define GLIB_PRIVATE_CALL(symbol) (glib__private__()->symbol)
|
||||
|
||||
typedef struct {
|
||||
|
||||
Reference in New Issue
Block a user