summaryrefslogtreecommitdiff
path: root/docs
diff options
context:
space:
mode:
authorEmmanuele Bassi <ebassi@gnome.org>2021-02-09 11:38:27 +0000
committerEmmanuele Bassi <ebassi@gmail.com>2021-08-05 16:24:23 +0000
commit661ca094e8d2279709258169a9e67ff7dc10f3a7 (patch)
treea1d4596787ec3c7bf51372748a76c634c51b2b3e /docs
parentffb165a58d360d1453f6ced227ae645951bfb8b6 (diff)
downloadgobject-introspection-661ca094e8d2279709258169a9e67ff7dc10f3a7.tar.gz
Add "final" class attribute
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 9906efed..6a39b20f 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