summaryrefslogtreecommitdiff
path: root/docs/gir-1.2.rnc
diff options
context:
space:
mode:
authorMarc-André Lureau <marcandre.lureau@redhat.com>2021-03-23 20:43:47 +0400
committerEmmanuele Bassi <ebassi@gmail.com>2021-06-20 21:28:02 +0000
commitb8880276b257d584f2d7120a05daba19093de319 (patch)
tree637cb2307181f7df08ef3ca15adcad693b1ecfbd /docs/gir-1.2.rnc
parent01821d5e4986a36d7a8de9278540205e54144e1d (diff)
downloadgobject-introspection-b8880276b257d584f2d7120a05daba19093de319.tar.gz
Add glib:name to enum member
This member will contain the string from the GEnumValue/GFlagsValue 'value_name' introspection dump. Signed-off-by: Marc-André Lureau <marcandre.lureau@redhat.com>
Diffstat (limited to 'docs/gir-1.2.rnc')
-rw-r--r--docs/gir-1.2.rnc4
1 files changed, 3 insertions, 1 deletions
diff --git a/docs/gir-1.2.rnc b/docs/gir-1.2.rnc
index a6478119..8f53c18e 100644
--- a/docs/gir-1.2.rnc
+++ b/docs/gir-1.2.rnc
@@ -679,8 +679,10 @@ grammar {
attribute value { xsd:string },
## corresponding C type of the member
attribute c:identifier { xsd:string },
- ## short nickname of the member
+ ## short nickname of the member (from GEnumValue/GFlagsValue)
attribute glib:nick { xsd:string }?,
+ ## name of the member (from GEnumValue/GFlagsValue)
+ attribute glib:name { xsd:string }?,
Info.elements
}