mirror of
https://gitlab.gnome.org/GNOME/glib.git
synced 2024-12-25 23:16:14 +01:00
Merge branch 'no-enums-in-bitfields' into 'main'
Stop using enums in bitfields See merge request GNOME/glib!3632
This commit is contained in:
commit
eed0b26de3
@ -29,8 +29,8 @@
|
||||
#define G_FILE_ATTRIBUTE_VALUE_INIT {0}
|
||||
|
||||
typedef struct {
|
||||
GFileAttributeType type : 8;
|
||||
GFileAttributeStatus status : 8;
|
||||
guint type : 8; /* GFileAttributeType */
|
||||
guint status : 8; /* GFileAttributeStatus */
|
||||
union {
|
||||
gboolean boolean;
|
||||
gint32 int32;
|
||||
|
Loading…
Reference in New Issue
Block a user