mirror of
https://gitlab.gnome.org/GNOME/glib.git
synced 2025-08-01 15:03:39 +02:00
gienuminfo: Split out GIFlagsInfo as a derived type
Flag enums are already treated as a special kind of enum within `GIInfoType`, so it would be tidier to give it its own `GType` too, with a subtype relation to `GI_TYPE_ENUM_INFO`. This will simplify implementing `GI_IS_ENUM_INFO` in a following commit too. Signed-off-by: Philip Withnall <pwithnall@gnome.org> Helps: #3216
This commit is contained in:
@@ -69,6 +69,10 @@ GI_AVAILABLE_IN_ALL GType gi_union_info_get_type (void);
|
||||
typedef struct _GIEnumInfo GIEnumInfo;
|
||||
GI_AVAILABLE_IN_ALL GType gi_enum_info_get_type (void);
|
||||
|
||||
/* Documented in giflagsinfo.c */
|
||||
typedef struct _GIFlagsInfo GIFlagsInfo;
|
||||
GI_AVAILABLE_IN_ALL GType gi_flags_info_get_type (void);
|
||||
|
||||
/* Documented in giobjectinfo.c */
|
||||
typedef struct _GIObjectInfo GIObjectInfo;
|
||||
GI_AVAILABLE_IN_ALL GType gi_object_info_get_type (void);
|
||||
|
Reference in New Issue
Block a user