mirror of
https://gitlab.gnome.org/GNOME/glib.git
synced 2024-12-25 23:16:14 +01:00
Make this an inline function. Define it only if G_CAN_INLINE and not C++.
2005-07-20 Tor Lillqvist <tml@novell.com> * glib/gutils.h (g_win32_get_system_data_dirs): Make this an inline function. Define it only if G_CAN_INLINE and not C++. (#173098)
This commit is contained in:
parent
912e4ea3cb
commit
f0a0fe7a44
@ -1,3 +1,9 @@
|
||||
2005-07-20 Tor Lillqvist <tml@novell.com>
|
||||
|
||||
* glib/gutils.h (g_win32_get_system_data_dirs): Make this an
|
||||
inline function. Define it only if G_CAN_INLINE and not
|
||||
C++. (#173098)
|
||||
|
||||
2005-07-19 Matthias Clasen <mclasen@redhat.com>
|
||||
|
||||
* glib/gstring.c (g_string_chunk_insert_len): Avoid
|
||||
|
@ -1,3 +1,9 @@
|
||||
2005-07-20 Tor Lillqvist <tml@novell.com>
|
||||
|
||||
* glib/gutils.h (g_win32_get_system_data_dirs): Make this an
|
||||
inline function. Define it only if G_CAN_INLINE and not
|
||||
C++. (#173098)
|
||||
|
||||
2005-07-19 Matthias Clasen <mclasen@redhat.com>
|
||||
|
||||
* glib/gstring.c (g_string_chunk_insert_len): Avoid
|
||||
|
@ -1,3 +1,9 @@
|
||||
2005-07-20 Tor Lillqvist <tml@novell.com>
|
||||
|
||||
* glib/gutils.h (g_win32_get_system_data_dirs): Make this an
|
||||
inline function. Define it only if G_CAN_INLINE and not
|
||||
C++. (#173098)
|
||||
|
||||
2005-07-19 Matthias Clasen <mclasen@redhat.com>
|
||||
|
||||
* glib/gstring.c (g_string_chunk_insert_len): Avoid
|
||||
|
@ -1,3 +1,9 @@
|
||||
2005-07-20 Tor Lillqvist <tml@novell.com>
|
||||
|
||||
* glib/gutils.h (g_win32_get_system_data_dirs): Make this an
|
||||
inline function. Define it only if G_CAN_INLINE and not
|
||||
C++. (#173098)
|
||||
|
||||
2005-07-19 Matthias Clasen <mclasen@redhat.com>
|
||||
|
||||
* glib/gstring.c (g_string_chunk_insert_len): Avoid
|
||||
|
@ -130,7 +130,10 @@ G_CONST_RETURN gchar* G_CONST_RETURN * g_get_system_data_dirs (void);
|
||||
|
||||
#ifdef G_OS_WIN32
|
||||
G_CONST_RETURN gchar* G_CONST_RETURN * g_win32_get_system_data_dirs_for_module (gconstpointer address);
|
||||
static G_CONST_RETURN gchar * G_CONST_RETURN *
|
||||
#endif
|
||||
|
||||
#if defined (G_OS_WIN32) && defined (G_CAN_INLINE) && !defined (__cplusplus)
|
||||
static inline G_CONST_RETURN gchar * G_CONST_RETURN *
|
||||
g_win32_get_system_data_dirs (void)
|
||||
{
|
||||
return g_win32_get_system_data_dirs_for_module ((gconstpointer) &g_win32_get_system_data_dirs);
|
||||
|
Loading…
Reference in New Issue
Block a user