mirror of
https://gitlab.gnome.org/GNOME/glib.git
synced 2025-03-25 00:50:05 +01:00
Remove global declaration of GMemoryMonitor
The GMemoryMonitor interface uses G_DECLARE_INTERFACE, which provides a typedef for the interface dummy type. We declare the same type inside the global giotypes.h header, which leads to typedef redeclaration warnings on toolchains that do not support—intentionally or not—the C11 feature of typedef redefinition. While we do have a toolchain requirement for C11 typedef redefinitions listed on our wiki, we also suspended it temporarily to allow users of non-C11 compilers to work on newer versions of GLib; so, let's keep them working a while longer.
This commit is contained in:
parent
84896e558d
commit
f5f4828721
@ -122,7 +122,6 @@ typedef struct _GLoadableIcon GLoadableIcon; /* Dummy typedef */
|
||||
typedef struct _GBytesIcon GBytesIcon;
|
||||
typedef struct _GMemoryInputStream GMemoryInputStream;
|
||||
typedef struct _GMemoryOutputStream GMemoryOutputStream;
|
||||
typedef struct _GMemoryMonitor GMemoryMonitor;
|
||||
|
||||
/**
|
||||
* GMount:
|
||||
|
Loading…
x
Reference in New Issue
Block a user