mirror of
https://gitlab.gnome.org/GNOME/glib.git
synced 2024-12-27 07:56:14 +01:00
W32: Make _g_win32_get_system_data_dirs() inline available in C++
This way g_get_system_data_dirs() works the same way in C and C++. https://bugzilla.gnome.org/show_bug.cgi?id=777501 Closes #1240
This commit is contained in:
parent
ef4d960d2c
commit
4227770af6
@ -83,7 +83,7 @@ GLIB_AVAILABLE_IN_ALL
|
||||
const gchar * const * g_win32_get_system_data_dirs_for_module (void (*address_of_function)(void));
|
||||
#endif
|
||||
|
||||
#if defined (G_OS_WIN32) && defined (G_CAN_INLINE) && !defined (__cplusplus)
|
||||
#if defined (G_OS_WIN32) && defined (G_CAN_INLINE)
|
||||
/* This function is not part of the public GLib API either. Just call
|
||||
* g_get_system_data_dirs() in your code, never mind that that is
|
||||
* actually a macro and you will in fact call this inline function.
|
||||
|
Loading…
Reference in New Issue
Block a user