Merge branch 'girepository-bitfield' into 'main'

girepository: Don't assume a bitfield has a fixed size

Closes #3355

See merge request GNOME/glib!4065
This commit is contained in:
Philip Withnall 2024-05-15 11:53:51 +00:00
commit 797f9c5157

View File

@ -57,7 +57,8 @@ struct _GIBaseInfo
GITypelib *typelib;
uint32_t offset;
uint32_t type_is_embedded : 1; /* Used by GITypeInfo */
unsigned int type_is_embedded : 1; /* Used by GITypeInfo */
unsigned int padding_bitfield : 31; /* For future expansion */
/* A copy of GIBaseInfo is exposed publicly for stack-allocated derivatives
* such as GITypeInfo, so its size is now ABI. */