mirror of
https://gitlab.gnome.org/GNOME/glib.git
synced 2025-08-20 15:48:54 +02: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:
@@ -29,8 +29,8 @@
|
|||||||
#define G_FILE_ATTRIBUTE_VALUE_INIT {0}
|
#define G_FILE_ATTRIBUTE_VALUE_INIT {0}
|
||||||
|
|
||||||
typedef struct {
|
typedef struct {
|
||||||
GFileAttributeType type : 8;
|
guint type : 8; /* GFileAttributeType */
|
||||||
GFileAttributeStatus status : 8;
|
guint status : 8; /* GFileAttributeStatus */
|
||||||
union {
|
union {
|
||||||
gboolean boolean;
|
gboolean boolean;
|
||||||
gint32 int32;
|
gint32 int32;
|
||||||
|
Reference in New Issue
Block a user