mirror of
https://gitlab.gnome.org/GNOME/glib.git
synced 2025-01-12 15:36:17 +01:00
Include GObject's visibility header
The gobject-introspection build goes through the GLib types when generating the introspection data for GLib, but it does not include glib-object.h, otherwise all GObject symbols would end up inside the GLib namespace. This means we need to import the gobject-visibility.h header inside glib-types.h. Since the header is guarded by a once pragma, it doesn't really affect any legitimate user of the C API.
This commit is contained in:
parent
ec3b1bfc45
commit
79fd62ccf2
@ -24,6 +24,7 @@
|
||||
#endif
|
||||
|
||||
#include <glib.h>
|
||||
#include <gobject/gobject-visibility.h>
|
||||
|
||||
G_BEGIN_DECLS
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user