summaryrefslogtreecommitdiff
path: root/docs
diff options
context:
space:
mode:
authorEmmanuele Bassi <ebassi@gnome.org>2021-02-09 11:38:27 +0000
committerEmmanuele Bassi <ebassi@gnome.org>2021-02-09 11:38:27 +0000
commitc7a9861d9cd165f7e2db78811c111b78ca8d6add (patch)
tree4ce9d2725dae029dc8109ba90d1d863fdcfa12e6 /docs
parent5ed5b1ed30938dbe70e50feffa56ee5ee47696d2 (diff)
downloadgobject-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 'docs')
-rw-r--r--docs/gir-1.2.rnc2
1 files changed, 2 insertions, 0 deletions
diff --git a/docs/gir-1.2.rnc b/docs/gir-1.2.rnc
index 6fa656c2..d0821cb7 100644
--- a/docs/gir-1.2.rnc
+++ b/docs/gir-1.2.rnc
@@ -170,6 +170,8 @@ grammar {
attribute abstract { "0" | "1" }?,
## Binary attribute to declare the class fundamental or not (top-level class which do not derives from any other type)
attribute glib:fundamental { "0" | "1" }?,
+ ## Binary attribute to declare the class final or not (non-derivable class in a derivable hierarchy)
+ attribute glib:final { "0" | "1" }?,
# Other elements a class can contain
(Info.elements