mirror of
https://gitlab.gnome.org/GNOME/glib.git
synced 2024-11-05 00:46:16 +01:00
gutils: move G_END_DECLS to the end of gutils.h
Previously, some declarations near the bottom came after the G_END_DECLS, causing linker errors for C++ users that called those functions. https://bugzilla.gnome.org/show_bug.cgi?id=690902
This commit is contained in:
parent
81c1fd22bd
commit
0d3da350c6
@ -307,8 +307,6 @@ g_bit_storage (gulong number)
|
||||
}
|
||||
#endif /* G_CAN_INLINE || __G_UTILS_C__ */
|
||||
|
||||
G_END_DECLS
|
||||
|
||||
#ifndef G_DISABLE_DEPRECATED
|
||||
|
||||
/*
|
||||
@ -372,4 +370,6 @@ const gchar *g_get_tmp_dir_utf8 (void);
|
||||
gchar *g_find_program_in_path_utf8 (const gchar *program);
|
||||
#endif
|
||||
|
||||
G_END_DECLS
|
||||
|
||||
#endif /* __G_UTILS_H__ */
|
||||
|
Loading…
Reference in New Issue
Block a user