diff options
author | Emmanuele Bassi <ebassi@gnome.org> | 2021-02-09 11:38:27 +0000 |
---|---|---|
committer | Emmanuele Bassi <ebassi@gnome.org> | 2021-02-09 11:38:27 +0000 |
commit | c7a9861d9cd165f7e2db78811c111b78ca8d6add (patch) | |
tree | 4ce9d2725dae029dc8109ba90d1d863fdcfa12e6 /girepository/gitypelib-internal.h | |
parent | 5ed5b1ed30938dbe70e50feffa56ee5ee47696d2 (diff) | |
download | gobject-introspection-ebassi/final-type.tar.gz |
Add "final" class attributeebassi/final-type
A "final" class is a leaf node in a derivable type hierarchy, and cannot
be derived any further.
This matches the changes in libgobject that introduced G_TYPE_FLAG_FINAL
to the type flags.
Diffstat (limited to 'girepository/gitypelib-internal.h')
-rw-r--r-- | girepository/gitypelib-internal.h | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/girepository/gitypelib-internal.h b/girepository/gitypelib-internal.h index 28b177d6..49614672 100644 --- a/girepository/gitypelib-internal.h +++ b/girepository/gitypelib-internal.h @@ -1034,10 +1034,11 @@ typedef struct { /** * ObjectBlob: * @blob_type: #BLOB_TYPE_OBJECT - * @deprecated: TODO - * @abstract: TODO + * @deprecated: whether the type is deprecated + * @abstract: whether the type can be instantiated * @fundamental: this object is not a GObject derived type, instead it's * an additional fundamental type. + * @final: whether the type can be derived * @reserved: Reserved for future use. * @name: TODO * @gtype_name: String name of the associated #GType @@ -1076,7 +1077,8 @@ typedef struct { guint16 deprecated : 1; guint16 abstract : 1; guint16 fundamental : 1; - guint16 reserved :13; + guint final_ : 1; + guint16 reserved :12; guint32 name; guint32 gtype_name; |