mirror of
https://gitlab.gnome.org/GNOME/glib.git
synced 2024-12-25 23:16:14 +01:00
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:
commit
797f9c5157
@ -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. */
|
||||
|
Loading…
Reference in New Issue
Block a user