summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDavid Bellot <david.bellot@gmail.com>2019-02-28 17:12:20 +1100
committerDavid Bellot <david.bellot@gmail.com>2019-04-02 22:09:50 +0000
commite59d55ff1d66cdaa7d5e6af117c6f1a993e0cd3b (patch)
treed2a1a6d2648dedef94792b7608eaf8d05e5dce05
parentdcc6214fb12b621992db3e96d57e85b5b86172e2 (diff)
downloadgobject-introspection-e59d55ff1d66cdaa7d5e6af117c6f1a993e0cd3b.tar.gz
docs: added missing docs for annotations attribute
-rw-r--r--docs/gir-1.2.rnc3
1 files changed, 3 insertions, 0 deletions
diff --git a/docs/gir-1.2.rnc b/docs/gir-1.2.rnc
index 30746c3c..22f5888f 100644
--- a/docs/gir-1.2.rnc
+++ b/docs/gir-1.2.rnc
@@ -54,8 +54,11 @@ grammar {
}
Annotation =
+ ## element defining an annotation from the source code, usually a user-defined annotation associated to a parameter or a return value
element attribute {
+ ## name of the attribute
attribute name { xsd:string },
+ ## value of the attribute
attribute value { xsd:string }
}